LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] why can't my pc access other computers through its network card?

[ILUG] why can't my pc access other computers through its network card?

raoul duke dr_gonzo at redbrick.dcu.ie
Sat May 1 14:41:40 IST 2004


On Sat, May 01, 2004 at 01:51:26PM +0100, Ronan Cunniffe wrote:
> 
> 
> On Sat, 1 May 2004, raoul duke wrote:
> 
> > iface eth1 inet static
> > address 192.168.0.1
> > netmask 255.255.255.0
> >
> > any help, pointers, suggestions would be greatly appreciated, cheers!
> 
> At a random guess, the router is giving eth0 a 192.168.0.x address as
> well, at which point you have two NICs on the same subnet, and the second
> to be added will mess up the routing table to the first.

the strange this is that i've had these settings in place for a few months,
it was only last week when the problem occured.

> 
> The "Operation not permitted" for ping sounds like a firewall.

hmm... strange, i never messed with any firewall settings. the only
firewall settings that are in place are from the package ipmasq.

here's the output of route -n:
root [~] route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0


> 
> run /sbin/ifconfig to see what the configs for eth0 and 1 are.

here are the eth0 and eth1 bits of the ifconfig output:

eth0      Link encap:Ethernet  HWaddr 00:04:5A:8D:27:10
          inet addr:192.168.1.34  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:12 dropped:0 overruns:0 carrier:20
          collisions:0 txqueuelen:1000
          RX bytes:6570 (6.4 KiB)  TX bytes:5096 (4.9 KiB)
          Interrupt:5 Base address:0xc400

eth1      Link encap:Ethernet  HWaddr 00:0D:88:17:E7:92
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:108 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12410 (12.1 KiB)  TX bytes:42 (42.0 b)
          Interrupt:10 Base address:0xc000





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell