General technical discussions.
vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

A general question on internet access

Tue Mar 27, 2012 6:42 am

Hi Experts!

I have a linksys wireless router with four ethernet ports

As soon as I turn the wireless adapter on my laptop on, it acquires an IP address immediately
I have also connected my laptop to the router through an Ethernet cable, which has another IP address

When I give the ipconfig command, it gives two IP addresses, one for my wireless adapter and the other for the Ethernet LAN card

When I see the network and sharing window, it gives the diagram showing the path to internet

Laptop -->Multiple networks-->Internet

Which adapter is used for the internet? I am confused

How to verify that. Please answer this

Regards
Vijay

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Tue Mar 27, 2012 12:52 pm

pls help me

User avatar
Dan-
Senior Member
Posts:
401
Joined:
Mon Feb 14, 2011 10:28 pm
Certs:
CCNA

Re: A general question on internet access

Tue Mar 27, 2012 4:58 pm

traceroute

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Wed Mar 28, 2012 3:54 am

How will tracert help us here?
When I ping any site, say www.google.com, it will go through default gateway, which is the same configured on LAN adapter as well as WLAN adapter. How do we find out which adapter is used? What is the way?

In my previous company, when I am accessing internet through WLAN and as soon as I plug the ethernet cable, the WLAN adapter goes down and
LAN adapter gets activated. But why are both active now at home?

Please clarify

Regards
Vijay

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Wed Mar 28, 2012 4:03 am

How will tracert help us here?
When I ping any site, say www.google.com, it will go through default gateway, which is the same configured on LAN adapter as well as WLAN adapter. How do we find out which adapter is used? What is the way?

In my previous company, when I am accessing internet through WLAN and as soon as I plug the ethernet cable, the WLAN adapter goes down and
LAN adapter gets activated. From this what we understand is wired LAN being faster, takes over.
But why are both active now at home?

Please clarify

Regards
Vijay

User avatar
ristau5741
Post Whore
Posts:
10326
Joined:
Tue Aug 21, 2007 2:15 pm
Certs:
Instanity

Re: A general question on internet access

Wed Mar 28, 2012 7:30 am

your LAN adapter and WLAN adapter cannot have same IP address
otherwise you have bigger issues at hand.
Tips of the day:
- The human mind is the ultimate creation invention.
- I have so many customers, my customers have customers.
- Sausage time
- POP, stack, and store

User avatar
Dan-
Senior Member
Posts:
401
Joined:
Mon Feb 14, 2011 10:28 pm
Certs:
CCNA

Re: A general question on internet access

Wed Mar 28, 2012 12:11 pm

Are your adapters bridged together?

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Wed Mar 28, 2012 1:11 pm

I domt know what bridged means/ your LAN adapter and WLAN adapter cannot have same IP address
otherwise you have bigger issues............... I domt know what bridged meansues at hand. but yes, they have different IP addresses

User avatar
ristau5741
Post Whore
Posts:
10326
Joined:
Tue Aug 21, 2007 2:15 pm
Certs:
Instanity

Re: A general question on internet access

Wed Mar 28, 2012 1:37 pm

traceroute will tell you the path packets flow, as Dan- stated above.
Tips of the day:
- The human mind is the ultimate creation invention.
- I have so many customers, my customers have customers.
- Sausage time
- POP, stack, and store

User avatar
Dan-
Senior Member
Posts:
401
Joined:
Mon Feb 14, 2011 10:28 pm
Certs:
CCNA

Re: A general question on internet access

Wed Mar 28, 2012 6:42 pm

You can always whip up a Wireshark session

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Thu Mar 29, 2012 2:09 am

Thanks ristau and Dan

Kind ATTN: ristau5741
Yes, the LAN adapter and WLAN adapters have different IP addresses
I know that tracert will tell us the path, but as I mentioned earlier, both LAN and WLAN adapters have the same default gateway
When I do a tracert, it goes through the same default gateway. How do we find out which adapter is used?

Kind ATTN: Dan

Are your adapters bridged together? I don't understand
i) What is bridging?
ii) Why do we do it?

Regards
Vijay

User avatar
Dan-
Senior Member
Posts:
401
Joined:
Mon Feb 14, 2011 10:28 pm
Certs:
CCNA

Re: A general question on internet access

Thu Mar 29, 2012 2:27 pm

vijay0303 wrote:Thanks ristau and Dan

Kind ATTN: ristau5741
Yes, the LAN adapter and WLAN adapters have different IP addresses
I know that tracert will tell us the path, but as I mentioned earlier, both LAN and WLAN adapters have the same default gateway
When I do a tracert, it goes through the same default gateway. How do we find out which adapter is used?

Kind ATTN: Dan

Are your adapters bridged together? I don't understand
i) What is bridging?
ii) Why do we do it?

Regards
Vijay


In the past i've had a notebook that bridged together both the wireless and wired connections using connectivity software (Fujitsu notebook I believe). This means that both the wireless and wired adapters would act as one interface thus giving the same ip address when either is connected.

In any standard OS, if both your lan and wireless adapters are connected simultaneously, normally the OS would favor wired connection over the wireless. To really know for sure, your gonna need to view the status of the interface and see how much traffic is running through them. Or fire up a traffic monitoring software on your machine like wireshark to monitor packet flow.

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Thu Mar 29, 2012 11:11 pm

thanks for your answer.....I will try it with Wireshark, but I have difficulties in interpreting the packets in Wireshark

In my case, I dont think both LAN & WLAN adapters are acting as one interface. When I issue the command ipconfig, LAN's IP is 192.168.1.103 and WLAN's IP is 192.168.1.101, both having the same default gateway (192.168.1.1)
As I mentioned earlier the network and sharing window gives the path, Inspiron ----> Multiple networks --->Internet
It shows as Inspiron-->Linksys-->Internet when either the wireless or wired is active

Ok, what is the use of bridging? To increase the bandwidth?

Regards
Vijay

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Fri Mar 30, 2012 2:38 pm

thanks for your answer.....I will try it with Wireshark, but I have difficulties in interpreting the packets in Wireshark

In my case, I dont think both LAN & WLAN adapters are acting as one interface. When I issue the command ipconfig, LAN's IP is 192.168.1.103 and WLAN's IP is 192.168.1.101, both having the same default gateway (192.168.1.1)
As I mentioned earlier the network and sharing window gives the path, Inspiron ----> Multiple networks --->Internet
It shows as Inspiron-->Linksys-->Internet when either the wireless or wired is active

Ok, what is the use of bridging? To increase the bandwidth?

Regards
Vijay


Report this post

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Sun Apr 01, 2012 3:54 am

Please answer this

Davidr
Senior Member
Posts:
485
Joined:
Wed Aug 24, 2011 1:43 am
Certs:
CCNP

Re: A general question on internet access

Sun Apr 01, 2012 5:03 am

i think the answer you are looking for is related to the interface metrics that windows give each network card.

if you do a "route print" you will see the routing table for your laptop

windows will pick the interface with the lowest metric.

example

Code: Select all
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.1    192.168.1.100     20
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      192.168.1.0    255.255.255.0         On-link     192.168.1.100    276
      192.168.1.1  255.255.255.255         On-link     192.168.1.100    100
    192.168.1.100  255.255.255.255         On-link     192.168.1.100    276
    192.168.1.255  255.255.255.255         On-link     192.168.1.100    276
      192.168.2.0    255.255.255.0      192.168.5.1    192.168.5.164    100
      192.168.4.0    255.255.255.0      192.168.5.1    192.168.5.164    100

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Mon Apr 02, 2012 6:27 am

Excellent Davidr

Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 20
127.0.0.0 255.0.0.0 192.168.1.1 192.168.1.101 25
The lowest metric being 20, which is for the LAN adapter, that is chosen as per your logical explanation. Now another question related to this

i) How is metric calculated? Metric for LAN adapter is 20 and metric for WLAN adapter is 25. How is this?

ii) This helps in redundancy here. When the LAN adapter goes down, the WLAN adapter takes over. Why was this not happening in my company?
Either the Wireless or the Wired works at a time. Is it made that way for any security reason?
iii) My friend has a similar setup as I have. A wireless router with four ethernet ports. Only one of them is active at a time. What should I do to
use both adapters?
iv) What is the bridging? What is the use of think

Please answer these. I will be really grateful

Regards
Vijay

Davidr
Senior Member
Posts:
485
Joined:
Wed Aug 24, 2011 1:43 am
Certs:
CCNP

Re: A general question on internet access

Mon Apr 02, 2012 6:47 am

http://support.microsoft.com/kb/299540

should give you a general idea.

vijay0303
Member
Posts:
101
Joined:
Wed Jul 27, 2011 9:48 am
Certs:
CCNA

Re: A general question on internet access

Tue Apr 03, 2012 1:41 am

Thank you Sir

i) When both LAN and WLAN adapters are available, there is redundancy. When the LAN adapter goes down, the WLAN adapter takes over. Why was this not happening in my company? I was working on wireless. As soon as I plugged the ethernet cable, the wireless went down and LAN adapter came up. Either the Wireless or the Wired works at a time. Is it made that way for any security reason?
ii) My friend has a similar setup as I have. A wireless router with four ethernet ports. Only one of them is active at a time. What should I do to
use both adapters?
iv) What is the bridging? What is the use of think

Please answer these

Regards
Vijay

User avatar
ittech2010
Member
Posts:
201
Joined:
Sat Feb 13, 2010 11:36 am
Certs:
None

Re: A general question on internet access

Tue Apr 03, 2012 2:47 am

Disable one or the other, if that fails then get yourself a new router!
Network Support Engineer

'
Next

Return to General Tech

Who is online

Users browsing this forum: Bing [Bot] and 7 guests