dual homed host

Robert Puyol puyol at noos.fr
Sat May 17 14:18:55 PDT 2003


My setup is: one FreBSD server, one interface, two ISP, each providing 
a router. So I would like to set up a dual homed host, to be able use 
the two ISP. From some reading of the FreeBSD documentation and 
gooooooooooogle, here are my questions:

0) do I need to do a sysctl net.inet.ip.forwarding=1 to get a working 
dual homed host ?
1) I set an alias (private IP to use the ISP2): "ifconfig rl0 inet netmask alias", the I can ping but not 
the router at What's wrong ?
2) I set route: "route add -net 10.0.1/24 0", but yet I am 
still not able to ping the router at or to ping my public IP 
from another network.

If I set the defaultrouter= (ISP2 router on my network) in 
rc.conf I can use the ISP2 public IP to acces my server, but then I 
loose the access to the primary IP of the ISP1...

Thanks a lot for your help.
Robert Puyol

More information about the freebsd-questions mailing list