linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ping command
@ 2007-07-25  9:29 Nethra
  2007-07-26 14:09 ` Ben Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Nethra @ 2007-07-25  9:29 UTC (permalink / raw)
  To: linuxppc-embedded


hi,

I m using custom board same as eval board MPC8272ADS board.

IP assigned for both ethernets are...

              ifconfig eth1 192.168.33.135 up
	 ifconfig eth1 netmask 255.255.248.0
 	 route add default gw 192.168.32.47 eth1
 
 
	 ifconfig eth0 192.168.178.89 up
	 ifconfig eth0netmask 255.255.255.0
	 route add default gw 192.168.178.47 eth0

but if i try for ping 192.168.33.135 command pails by the server of 178
series
similarly ping 192.168.178.89 command pails by the server of 33 series..

what is the problem..and whre i m going wrong..?

thanks in advance..

Nethra

-- 
View this message in context: http://www.nabble.com/ping-command-tf4141032.html#a11779249
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ping command
  2007-07-25  9:29 ping command Nethra
@ 2007-07-26 14:09 ` Ben Warren
  2007-07-27  6:46   ` Nethra
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Warren @ 2007-07-26 14:09 UTC (permalink / raw)
  To: Nethra; +Cc: linuxppc-embedded

Nethra,

On Wed, 2007-07-25 at 02:29 -0700, Nethra wrote:
> hi,
> 
> I m using custom board same as eval board MPC8272ADS board.
> 
> IP assigned for both ethernets are...
> 
>               ifconfig eth1 192.168.33.135 up
> 	 ifconfig eth1 netmask 255.255.248.0
>  	 route add default gw 192.168.32.47 eth1
>  
> 
> 	 ifconfig eth0 192.168.178.89 up
> 	 ifconfig eth0netmask 255.255.255.0
> 	 route add default gw 192.168.178.47 eth0
> 
> but if i try for ping 192.168.33.135 command pails by the server of 178
> series
> similarly ping 192.168.178.89 command pails by the server of 33 series..
> 
> what is the problem..and whre i m going wrong..?

What does your routing table show?  (route -n).  It wouldn't hurt to
also post the output of ifconfig for both interfaces.

regards,
Ben

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ping command
  2007-07-26 14:09 ` Ben Warren
@ 2007-07-27  6:46   ` Nethra
  0 siblings, 0 replies; 3+ messages in thread
From: Nethra @ 2007-07-27  6:46 UTC (permalink / raw)
  To: linuxppc-embedded


root@cashel:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.32.0    0.0.0.0         255.255.248.0   U     0      0        0 eth1
0.0.0.0         192.168.32.47   0.0.0.0         UG    0      0        0 eth1
0.0.0.0         192.168.178.47  0.0.0.0         UG    0      0        0 eth0
root@cashel:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:72:FE:A9:02
          inet addr:192.168.178.89  Bcast:192.168.178.255 
Mask:255.255.255.0
          inet6 addr: fe80::213:72ff:fefe:a902/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15665 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9285 errors:0 dropped:0 overruns:0 carrier:9019
          collisions:0 txqueuelen:1000
          RX bytes:12957285 (12.3 MiB)  TX bytes:2720267 (2.5 MiB)
          Base address:0x8400

eth1      Link encap:Ethernet  HWaddr 00:13:72:7E:A9:02
          inet addr:192.168.33.135  Bcast:192.168.33.255  Mask:255.255.248.0
          inet6 addr: fe80::213:72ff:fe7e:a902/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:634 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84 errors:0 dropped:0 overruns:0 carrier:82
          collisions:0 txqueuelen:1000
          RX bytes:103558 (101.1 KiB)  TX bytes:12832 (12.5 KiB)
          Base address:0x8500

lo        Link encap:Local Loopback
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@cashel:~#


On Wed, 2007-07-25 at 02:29 -0700, Nethra wrote:
> hi,
> 
> I m using custom board same as eval board MPC8272ADS board.
> 
> IP assigned for both ethernets are...
> 
>               ifconfig eth1 192.168.33.135 up
> 	 ifconfig eth1 netmask 255.255.248.0
>  	 route add default gw 192.168.32.47 eth1
>  
> 
> 	 ifconfig eth0 192.168.178.89 up
> 	 ifconfig eth0netmask 255.255.255.0
> 	 route add default gw 192.168.178.47 eth0
> 
> but if i try for ping 192.168.33.135 command pails by the server of 178
> series
> similarly ping 192.168.178.89 command pails by the server of 33 series..
> 
> what is the problem..and whre i m going wrong..?

What does your routing table show?  (route -n).  It wouldn't hurt to
also post the output of ifconfig for both interfaces.

regards,
Ben

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded



-- 
View this message in context: http://www.nabble.com/ping-command-tf4141032.html#a11823845
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-27  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25  9:29 ping command Nethra
2007-07-26 14:09 ` Ben Warren
2007-07-27  6:46   ` Nethra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).