As eth0 is not working I down it and up the eth1.These are the output you
want. Actually its a public IP address thats why it replaced it with XXX...

On Thu, Mar 26, 2009 at 3:49 PM, Alex Samad <a...@samad.com.au> wrote:

> On Thu, Mar 26, 2009 at 12:13:18PM +0530, Kousik Maiti wrote:
> > Both are connected with Net.
> >
> > On Thu, Mar 26, 2009 at 12:09 PM, Marc Shapiro <mshapiro...@yahoo.com
> >wrote:
> >
> > > Kousik Maiti wrote:
> > >
> > >> In my system there are two ethernet card. I can't ping to other
> machine
> > >> via eth0 but eth1 is working fine. My ethernat controller is
> > >> Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit
> > >> Ethernet (rev 12) It is the output from lspci . Can anybody help???
>
> can you show us
>
> ip r

 #ip r
XXX.XXX.XXX.X/XX dev eth1  proto kernel  scope link  srcXXX.XXX.XXX.XXX
default via XXX.XXX.XXX..XXX dev eth1

>
> ifconfig

 eth1      Link encap:Ethernet  HWaddr 00:19:b9:e8:26:3f
          inet addr:XXX.XXX.XXX.XXX  Bcast:XXX.XXX.XXX.XXX
Mask:XXX.XXX.XXX.XXX
          inet6 addr: fe80::219:b9ff:fee8:263f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1067590 errors:0 dropped:0 overruns:0 frame:0
          TX packets:436387 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:929405199 (886.3 MiB)  TX bytes:41343376 (39.4 MiB)
          Interrupt:16 Memory:f4000000-f4012100

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8866 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8866 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8693016 (8.2 MiB)  TX bytes:8693016 (8.2 MiB)


> ip a

 #ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:b9:e8:26:3d brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:19:b9:e8:26:3f brd ff:ff:ff:ff:ff:ff
    inet XXX.XXX.XXX.XXX/XXX brd XXX.XXX.XXX.XXX scope global eth1
    inet6 fe80::219:b9ff:fee8:263f/64 scope link
       valid_lft forever preferred_lft forever


> ip li

 ip li
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:b9:e8:26:3d brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 00:19:b9:e8:26:3f brd ff:ff:ff:ff:ff:ff


> ip rule

ip rule
0:    from all lookup local
32766:    from all lookup main
32767:    from all lookup default



>
>
>
> and the commands you used to try the pings
>
> > >>
> > >
> > > This may seem trivial, but is the other box that you are trying to ping
> on
> > > a local network, or on the Net?  If your NICs are set up with one to
> the Net
> > > and the second one to a local network then you are only going to be
> able to
> > > ping local machines on the second NIC and use the first to connect to
> > > machines outside the local net.
> > >
> > > --
> > > Marc Shapiro
> > > mshapiro...@yahoo.com
> > >
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> > > subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> > >
> > >
> >
> >
> > --
> > Wishing you the very best of everything, always!!!
> > Kousik Maiti
> > Registered Linux User #474025
>
> --
> "We're spending money on clean coal technology. Do you realize we've got
> 250 million years of coal?"
>
>        - George W. Bush
> 06/08/2005
> Washington, DC
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAknLVrAACgkQkZz88chpJ2MwSwCfUMqyrD9NGc1fD5Pk33ciR1Jr
> TQcAn3gkZHNc2jLdxahvoxiWz+q68b+/
> =ymVy
> -----END PGP SIGNATURE-----
>
>


-- 
Wishing you the very best of everything, always!!!
Kousik Maiti
Registered Linux User #474025

Reply via email to