Gateway/Networking problems in FreeBSD 5.1-Release

From: Socketd <db_at_traceroute.dk>
Date: Thu, 3 Jul 2003 15:24:19 +0200
Hi all

I have a computer with 3 NIC's (10/100) and I am trying to set it up as
a gateway. In /etc/rc.conf I have:
ifconfig_rl1="inet 192.168.1.22 netmast 255.255.255.0 media 100baseTX"
ifconfig_de0="inet 192.168.1.21 netmast 255.255.255.0 media 100baseTX"
ifconfig_rl0="inet 192.168.1.20 netmast 255.255.255.0 media 100baseTX"

When booting I get:

rl0: <RealTek 8139 10/100BaseTX> port 0xc800-0xc8ff mem
0xea001000-0xea0010ff irq 9 at device 9.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl0: Ethernet address: 00:e0:7d:98:7a:a4

de0: <Digital 21140A Fast Ethernet> port 0xcc00-0xcc7f mem
0xea000000-0xea00007f irq 12 at device 10.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:a0:cc:66:8d:73
de0: enabling 100baseTX port
de0: link down: cable problem?

rl1: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem
0xea002000-0xea0020ff irq 5 at device 11.0 on pci0
rl1: Realtek 8139B detected. Warning, this may be unstable in autoselect
mode
rl1: Ethernet address: 00:00:e8:71:6e:89

When running ifconfig I get:
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255
	ether 00:e0:7d:98:7a:a4
	media: Ethernet 100baseTX
	status: active
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:a0:cc:66:8d:73
	media: Ethernet 100baseTX
	status: no carrier
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:00:e8:71:6e:89
	media: Ethernet 100baseTX
	status: no carrier
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 

Only rl0 works. With rl0 I can sniff my LAN, but not connect (ping) to
any computers.

Another problem is that rl0 and rl1 (I am not testing de0 jet) have
status: no carrier after booting. I have to take out and plug in the
network cable in order to make them active.

Please CC to me as I am not on the list :-)

br
socketd 
Received on Thu Jul 03 2003 - 04:16:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC