Configure 2 gateways on a freebsd box for 2 interfaces
derek at computinginnovations.com
Thu Sep 11 00:25:10 UTC 2008
At 12:05 PM 9/10/2008, The Noob wrote:
>I have a small question.
>I have two interface in two vlans.
>The first interface 192.168.0.1 255.255.255.0
>The second interface: 10.228.44.1 255.255.255.0
>The gateway for the first interface must be 192.168.0.254 and the second
>interface must be 10.228.44.254
>How can I configure them? In rc.conf we have just defaultrouter but we can't
>specify the interface.
>Thanks for your help
You can only have one default gateway by definition. You will need a static
route to pass traffic from interface/subnet to the other.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the freebsd-questions