Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vlan

Status
Not open for further replies.

zaineyma

Technical User
Jul 27, 2006
104
GB
silly question I know, but how do you determine the vlan from an ip config? mind has gone! thanks in advance.
 
yes but hat am I looking for? Default gateway?
 
The VLAN is the third octet of the IP address that you get from ipconfig...

I'm on vlan 17 my IP is 10.47.17.227.

Hope that helps [smile]

I used to have a handle on life... but it broke. Cpt. Red Bull
 
Showing any IP config on XP Pro will only give you Layer 3 information. VLANs are Layer 2 properties of the packet. If your PC connects to a managed switch, the switch port you connect to is going to tag your traffic. Very rarely does the PC even know it is on a VLAN. On rare occasions, if the NIC has the configuration parameters, you can tag traffic from the PC. You can only view the VLAN your tagging under the advanced settings of the Network Adapter.
 
I'm on vlan 17 my IP is 10.47.17.227.

Rubbish.

The VLAN is what you want it to be.

If yours were correct, how do we have a VLAN600 and VLAN300?



Robert Wilensky:
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.

 
Thank you for pointing that out so eloquently...I stand corrected.

Maybe you would like to give me a text book definition of VLAN's so that I might understand things better myself as well as helping the OP, and not just shoot me down for my apparent lack of knowledge/understanding.

I used to have a handle on life... but it broke. Cpt. Red Bull
 
VLAN is short for virtual LAN. You can assign ports on a switch to different VLANs (they are all in VLAN1 by default) making different networks using the same switch. These LANs cannot communicate without some routing, so they are used to segregate your network for security reasons and lesson broadcast traffic. You could determine you VLAN using your IP address, but you would need to know the subnets that each VLAN uses.
 
aich69
ponoodle is correct.
However the reason on my abrupt answer is because people shouldn't try and help on things they have no idea on unless you admit that it's a guess (often when trying to resolve software or hardware issues this is the case).
Stating something as fact, when it is not, helps no one.



Robert Wilensky:
We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top