Help!

ping same public host via Ethernet and wireless connection..

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Networking RSS
Next:  Accepted zope.security 3.7.1-2 (source i386)  
Author Message
Xiaochuan Shen
External


Since: Sep 13, 2009
Posts: 1



PostPosted: Sun Sep 13, 2009 8:10 am    Post subject: ping same public host via Ethernet and wireless connection at the
Archived from groups: comp>os>linux>networking (more info?)

Hello group!

For the purpose of demonstrating difference in multipath latency, I
would like to measure the “ping” time from my laptop to the same host on
Internet, via two different paths: wired Ethernet, and Wifi connection
respectively. The two connections here both support DHCP client and are
connect to Internet with different ISPs (wired university LAN, wireless
commercial connection).

Ideally I wish I can ping a public host (let’s say Google for example)
through the two different connections on the same machine and at the
same time.

I have tried to make the wireless interface gained IP address by DHCP
while statically assign IP address to Ethernet interface. The routing
table after this are as follows:

Kernel IP routing table
Destination Gateway Genmask Flags Iface
192.168.2.0 192.168.2.200 255.255.255.0 UG eth1
192.168.14.0 0.0.0.0 255.255.255.0 U wlan0
0.0.0.0 192.168.14.1 0.0.0.0 UG wlan0

where eth1 is the wired interface and wlan0 is the wifi card.
192.168.2.200 is the gateway on wired Ethernet.


Of course I can reach Google via wlan0. However I have tried to do:
Ping –r –I eth1 www.google.com

And ICMP packets seemed never come back via eth1. I am wondering whether
it is possible to reach public host under my configurations?

Thanks for your time.

All the best,
Xiaochuan
Back to top
Robert Harris
External


Since: Aug 14, 2005
Posts: 174



PostPosted: Sun Sep 13, 2009 10:10 am    Post subject: Re: ping same public host via Ethernet and wireless connection at [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Xiaochuan Shen wrote:
> Hello group!
>
> For the purpose of demonstrating difference in multipath latency, I
> would like to measure the “ping” time from my laptop to the same host on
> Internet, via two different paths: wired Ethernet, and Wifi connection
> respectively. The two connections here both support DHCP client and are
> connect to Internet with different ISPs (wired university LAN, wireless
> commercial connection).
>
> Ideally I wish I can ping a public host (let’s say Google for example)
> through the two different connections on the same machine and at the
> same time.
>
> I have tried to make the wireless interface gained IP address by DHCP
> while statically assign IP address to Ethernet interface. The routing
> table after this are as follows:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Iface
> 192.168.2.0 192.168.2.200 255.255.255.0 UG eth1
> 192.168.14.0 0.0.0.0 255.255.255.0 U wlan0
> 0.0.0.0 192.168.14.1 0.0.0.0 UG wlan0
>
> where eth1 is the wired interface and wlan0 is the wifi card.
> 192.168.2.200 is the gateway on wired Ethernet.
>
>
> Of course I can reach Google via wlan0. However I have tried to do:
> Ping –r –I eth1 www.google.com
>
> And ICMP packets seemed never come back via eth1. I am wondering whether
> it is possible to reach public host under my configurations?
>
> Thanks for your time.
>
> All the best,
> Xiaochuan

Some router between your PC and the internet must route packets from the
internet addressed to your PC via your ethernet interface.

What happens if you switch off your ethernet interface (ifconfig eth1 down)?

Robert
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Networking All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum