Basic networking problem: "Network is unreachable"
Hello!
Some days ago i found a very cheap second hand Netgear 5-port "fast Ethernet switch" FS105 (its an old one with a "normal or uplink" button.) so i bought it and now I'm playing around with it. I connected my two windows boxes to it and they automatically received an ip address. However, i couldn't send ping (standard ICMP type 8 packet) to either of them. So i booted into gentoo, got a static ip on the network and tried again. this is what happened: Code:
# ping 192.168.18.63 |
When DHCP assigns an ip address, it usually also gives the IP of the default route.
For example your IP might be 192.168.18.12 and the default route might be 192.168.18.1 route -n will show you what your current routes are Code:
Destination Gateway Genmask Flags Metric Ref Use Iface If you can find the default route that is assigned to the Windows PCs, you can add it using route add default gw 1.2.3.4 or add it to the "static" section in /etc/network/interfaces Who is assigning the ip addresses in your setup? Your linux box, one of the Win PCs or someone else? |
Quote:
boxA(windows&gentoo) <---(standard network cable)---> netgear switch <---(standard network cable)---> boxB(windowsXp) I havn't made any configuration on boxB, neither with boxA when windows is booted, when gentoo is booted, i edited the /etc/conf.d/net to the following, then i rebooted: Code:
# use either the dhcp or static ip |
All times are GMT -5. The time now is 01:27 AM. |