>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.
You should give more details about your configuration. If any client on the class B on NIC2 can contact your server, you must configure the NIC for the class B. The routing stack will take charge of excluding the class C on NIC1 from the class B on NIC2. It's very bad that the client that connects via the NIC2 has a subnet of class B and that the NIC2 is configured for class C only. If you configure: NIC1 192.168.1.1 255.255.255.0 NIC2 192.168.2.1 255.255.0.0 Client 192.168.127.23 255.255.0.0 it should work. Olivier _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"