Date: Tue, 17 Jun 2008 15:11:31 -0400 From: "The MadDaemon" <maddaemon@gmail.com> To: "FreeBSD - Questions" <freebsd-questions@freebsd.org> Subject: Dual NIC routing (?) problem Message-ID: <6c1774c50806171211g147f41ahb5e2edf0334dad93@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
List, I'm having a problem with a dual-homed host running 7.0-RELEASE with regards to traffic on one of the interfaces that I'm hoping someone knows something about. The goal of this box is to run Nessus on bge0 only (which is plugged into a trunk port on a switch), keeping fxp0 free as the admin interface and for serving web pages on my LAN. Here's ifconfig: bge0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:19:b9:22:a8:22 inet 0.0.0.0 netmask 0xffffff00 broadcast 0.0.0.255 media: Ethernet autoselect (100baseTX <full-duplex>) status: active fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=b<RXCSUM,TXCSUM,VLAN_MTU> ether 00:02:b3:bb:59:17 inet 10.20.10.24 netmask 0xffffff00 broadcast 172.20.10.255 inet 10.20.10.28 netmask 0xffffffff broadcast 172.20.10.28 inet 10.20.10.29 netmask 0xffffffff broadcast 172.20.10.29 media: Ethernet autoselect (100baseTX <full-duplex>) status: active /etc/rc.conf section: # Created: Mon Jun 9 09:32:52 2008 defaultrouter="10.20.10.254" hostname="darkhorse.mydomain.local" ifconfig_fxp0="inet 10.20.10.24 netmask 255.255.255.0" ifconfig_fxp0_alias0="inet 10.20.10.28 netmask 255.255.255.255" ifconfig_fxp0_alias1="inet 10.20.10.29 netmask 255.255.255.255" ifconfig_bge0="inet 0.0.0.0 netmask 255.255.255.0" I'm not sure what other changes need to be made or where, but when I assign an IP/netmask to bge0, bring up the interface, and try to ping the gateway (or anything else), I get 100% packet loss. I've even tried to assign a new default route, but I get an error stating there's already a default route. I know I'm completely missing something here, but I just can't figure out *what*. Any help would be most appreciated. -MD -- It said "use Linux 2.4 kernel or better" so I installed FreeBSD. Now everything runs better. Why didn't they just tell me to do that to begin with?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c1774c50806171211g147f41ahb5e2edf0334dad93>