[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Routing



On Mon, 16 Jul 2001, Richard Fifarek wrote:

> 
> Is it possible to create a static route such that 172.16.*.* goes to a
> particular gateway?


Yes, you might need to add a static route to the gateway first and then
add the static net -> gateway


> 
> route add -net 172.16.0.0 netmask 255.255.0.0 gw 192.168.1.1 ?
> 
> Or perhaps it would be easier if each NIC had it's own gateway?  For
> instance, eth0 is on the external network, eth1 is on the internal
> network, and based on which network the packet came in on, it would also
> go out on that network, and corresponding gateway.  Is this possible?
> 


Yes, this is the other way it can be done and probably the perferable one.


> 	     -----------------------------------------------------
> 	     Richard H. Fifarek	       		rfifarek@silug.org
>              -----------------------------------------------------
> 
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
> 

------------------------------------------------------------------------
| Mark Bishop  (mark@bish.net)         |             Computer Engineer |
| 813.258.2390                         |             Network Engineer  |
| http://bish.net                      |          Embedded Programmer  |

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.