David Efflandt wrote:
> On Mon, 12 Apr 2004 23:24:20 +0100, Rick
> <NOSPAMusenet555@lycos.co.uk> wrote:
>> I've got a Linux Fedora box with two NIC cards. One of the cards is
>> set up with a fixed adddress 174.xxx.xxx.xxx on 255.255.255.0, the
>> other one is on DHCP. The DHCP one is connected to a router which is
>> connected to the Internet, while I use the fixed IP NIC for shares.
>> I can access the Internet, but I can't access the router's home page
>> (I can access it from a Windows box though). I do not see the
>> reason. I've tried disabling the firewall, but still the same.
>> I also have problems accessing some web pages, for example
>> www.google.com. I'm using Mozilla.
>
> Since your posting IP is in 212. range, who assigned you that public
> 174. IP? For a LAN you should use IPs in private ranges to avoid any
> public conflicts (10.x.x.x, 172.16.x.x-172.31.x.x, 192.168.x.x).
Sorry, I wasn't quite clear.
There're two subnets, 172.16.x.x (not 174.xxx, mea culpa) used for shares
and 192.168.x.x on DHCP used for connecting to Internet through a router.
>
> Are both nics on same subnet on same physical network? If so, you
> likely have routing conflicts and need to read Adv-Routing HOWTO.
They're physically installed on the same computer, but they're supposed to
be on separate networks.
The whole idea is:
I have two computers, each with two NICs installed. One pair of NICs (one
from each PC) is used for shares, the 172.16.x.x net and the other pair of
NICs connected to the router for Internet connection.
> When having network issues, it helps if you provide output of
> /sbin/ifconfig and '/sbin/route -n'.
eth0 Link encap:Ethernet HWaddr 00:50:DA:41:EE:4C
inet addr:172.16.0.4 Bcast:172.16.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:113 (113.0 b) TX bytes:2787 (2.7 Kb)
Interrupt:5 Base address:0xd800
eth1 Link encap:Ethernet HWaddr 00:0C:6E:44:6E:D7
inet addr:192.168.123.150 Bcast:192.168.123.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28393 (27.7 Kb) TX bytes:21953 (21.4 Kb)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2072 errors:0 dropped:0 overruns:0 frame:0
TX packets:2072 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1382151 (1.3 Mb) TX bytes:1382151 (1.3 Mb)
'/sbin/route -n'.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.123.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.123.254 0.0.0.0 UG 0 0 0 eth1