Re: Routing
On Thu, 2003-09-04 at 08:30, Mark Maas wrote:
> Ok thanks, tried it but I get:
>
> SIOCADDRT: Invalid argument
>
> when I issue:
> route add -net 192.168.3.0 eth0
>
> man route tells me:
> route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
> adds a route to the network 192.56.76.x via "eth0".
> The Class C netmask modifier is not really neces
> sary here because 192.* is a Class C IP address.
> The word "dev" can be omitted here.
>
> What am I missing?
Well, it looks like you are missing "netmask" and the netmask. I think
your problem is not what you are thinking though. What is the ip address
of eth1? what does "route -n" show?
-Mark
Reply to: