At 06:26 AM 10/9/2008, Konrad Heuer wrote:

Hello,

I've a server box with four NICs addressing different subnets:

NIC1:   one class c subnet of same class b network
NIC2:   another class c subnet of same class b network
NIC3:   local unrouted network
NIC4:   local unrouted network

In the current configuration I use a default gateway (and no routing daemon) in the subnet addressed by NIC1. Now of course, if a client in an arbitrary different class c subnet contacts the server using the ip address of NIC2, it gets a reply from NIC1.

How can I cange this? I'd like the server to answer via the interface the client uses when connecting.

Maybe that's a silly question, but thanks for any reply!

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

You can have only one default gateway, that should be to where all other traffic should go. Add static routes to your specific subnets, public or private for the routing of that traffic.

        -Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to