Re: source based routing - network unreachable



jewo wrote:
echo "# SERVERS TABLE - $EXT_IFACE_1"
ip route add $INET_NET dev $EXT_IFACE_1 table servers
ip route add default via $INET_GW dev $EXT_IFACE_1 table servers

is $INET_GW realy part of the subnet of eth1?

Yep.

INET_GW = x.y.246.254
eth1 uses x.y.246.186
The subnet is x.y.246.0/24

I'm really confused because all the commands are literally cut/paste
from setting up eth2, but it doesn't work.

.



Relevant Pages

  • source based routing - network unreachable
    ... and other hosts to use the other IP. ... "servers" table fails. ... Since there's a route to that network already created on both the ... ip route add default via $INET_GW dev $EXT_IFACE_2 ...
    (comp.os.linux.networking)
  • Re: Port forwarding for smtp and pop3 in Windows 2000 server
    ... our network subnet is 172.20.x.x and our smtp and pop3 servers are on a totally different subnet, so i want to setup a server so all the clients need to do is put 172.20.1.15 as the pop3 and smtp server in their email client and those reqests are forwarded to the appropriate servers on the other subnet which is reachable from the 172.20.1.15 box. ... If there's already a router between the subnets, you could add a route to the server's subnet in the default gateway router for your LAN. ... "Port forwarding" is a function of NAT, and you could set it up that way. ...
    (microsoft.public.win2000.ras_routing)
  • Re: source based routing - network unreachable
    ... ip route flush table servers ... ip rule add from $LAN_NET_SERVERS table servers ... ip route add default via $INET_GW dev $EXT_IFACE_2 ...
    (comp.os.linux.networking)
  • Re: source based routing - network unreachable
    ... ip route add default via $INET_GW dev $EXT_IFACE_1 table servers ... is $INET_GW realy part of the subnet of eth1? ...
    (comp.os.linux.networking)
  • Interface configuration - inet6 issues
    ... Having some issues getting my interfaces configured properly. ... post-up ip route add table 100 to default via 10.0.4.1 dev eth1 ...
    (Debian-User)