Failsave

champ (champ@bigfoot.de)
Sun, 15 Aug 1999 00:11:33 +0200


I have to connections between my pc and the firewall
One BNC and one UTP i want to create a routing table
such hat if one connection is unavaible the other work
an i don't have to care about.

I use following configuration:
ip ad ad 10.0.0.95/8 peer 10.0.0.2 scope global dev eth0
ip ad ad 10.0.0.95/8 peer 10.0.0.2 scope global dev eth1
ip ro fl dev eth0
ip ro fl dev eth1
ip ro ad 10.0.0.2/32 proto kernel \
scope link src 10.0.0.95 equalize \
nexthop dev eth0 weight 1 \
nexthop dev eth1 weight 1
ip ro ad 10.0.0.0/8 proto kernel \
scope link src 10.0.0.95 equalize \
nexthop dev eth0 weight 1 \
nexthop dev eth1 weight 1
ip ro ad 0.0.0.0/0 equalize \
nexthop via 10.0.0.2 dev eth1 \
nexthop via 10.0.0.2 dev eth0

But if eth0 is down i cant get any connection !

Cu Thomas

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu