[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't ping to other ip addesss



On Thursday 26 March 2009 05:44:30 Kousik Maiti wrote:
>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...

That's not going to help us.  We need that output while your networking is in 
the state you expect the pings to work.  Also, while it isn't necessary right 
now, you IP addresses might be relevant in the future.  They aren't secret 
information--everyone you connect to on the internet and all the 
intermediaries see you IP address; it is on every packet you send.

>On Thu, Mar 26, 2009 at 3:49 PM, Alex Samad <alex@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_42@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

No routes send packets out eth0, because...

>> 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)

eth0 is not configured.  In specific,...

>> ip a
>
> #ip a
>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

it has no IP address assigned.

I don't know what you are trying to eth0 doesn't have an IP address to ping 
to/from.  You'll need to configure it properly--i.e. *really* connect it to 
the internet, for it to the able to send/receive ICMP echo ("ping") packets.

At that point you might try sending us the output again if you are still 
having issues.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: