Quote:
Originally Posted by allend
That broadcast address is unusual - 192.168.2.255 would be usual. I mention this because it suggests you are doing a manual configuration.
Are your outgoing packets being routed to a default gateway? Have a look at the output of 'route'.
|
I've checked several things so I probably posted the output of a time I didn't give it a correct address with prefix. I use the 'ip addr' and 'ip link' commands to bring it up. Here is my latest:
Code:
eth1 Link encap:Ethernet HWaddr 00:13:3b:0e:8d:7d
inet addr:192.168.2.100 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::213:3bff:fe0e:8d7d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:362 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:500 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31698 (30.9 KiB) TX bytes:0 (0.0 B)
Interrupt:76 Base address:0xe000
To test it out, I've hooked both my onboard NIC and a port of the addon card to a switch, ensure they are in the same VLAN, and clear the switch mac address table. I set their addresses to two different networks and then ping a dummy host on each network. When I ping a host on the network of the onboard NIC "ping -I eth0 192.168.1.199" Wireshark shows traffic on both interfaces, so the ARP is going out eth0 and back in eth1. When I "ping -I eth1 192.168.2.199", Wireshark only shows traffic on the eth1 interface going out, but not on the eth0 interface. This seems to suggest that wireshark is capturing the outbound packets before it hits the hardware, but then the hardware drops the packets and so it doesn't get broadcast through the switch and back into eth0. This is also what the output shows, 0 sent packets, 500 dropped sent packets. I've tested out known good cables and ports on the switch.
Edit: I don't have a default gateway configured right now. I'm just using it for local traffic. Here is 'ip route show':
Code:
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.100
192.168.2.0/24 dev eth1 proto kernel scope link src 192.168.2.100