Ethernet LAN VLAN Configuration

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
VLAN Configuration webslinga69 10-20-05
Posted by on October 20, 2005, 8:26 pm
Please log in for more thread options


Hi there,

I have created two VLANs succeffully.

My aim is for them to share a common port, to which the internet router
is plugged into.

That way, although users in seperate VLANs cannot communicate with each
other, they can route traffic to the internet via the same default
gateway.

In VLAN A, a DHCP Server exists. In VLAN B, only three machines exist.
I have given machines in VLAN B static IP Addresses in the same subnet
as in VLAN A (outside the scope of the DHCP) so that they can use the
same default gateway address.

I have tried to set the port status on one and then both VLANs to
tagged, however as soon as I do this, I can't ping the router or the
internet from either.

Am I doing something wrong?


C



Posted by Patrick Schaaf on October 21, 2005, 5:47 am
Please log in for more thread options


webslinga69@yahoo.com writes:

[snip]
>I have tried to set the port status on one and then both VLANs to
>tagged, however as soon as I do this, I can't ping the router or the
>internet from either.

>Am I doing something wrong?

Yes. You either misconfigured the router, or the switch it is connected to,
with regards to tagged (VLAN trunk) settings.

best regards
Patrick


Posted by anoop on October 21, 2005, 7:35 am
Please log in for more thread options



webslinga69@yahoo.com wrote:
> Hi there,
>
> I have created two VLANs succeffully.
>
> My aim is for them to share a common port, to which the internet router
> is plugged into.
>
> That way, although users in seperate VLANs cannot communicate with each
> other, they can route traffic to the internet via the same default
> gateway.
>
> In VLAN A, a DHCP Server exists. In VLAN B, only three machines exist.
> I have given machines in VLAN B static IP Addresses in the same subnet
> as in VLAN A (outside the scope of the DHCP) so that they can use the
> same default gateway address.
>
> I have tried to set the port status on one and then both VLANs to
> tagged, however as soon as I do this, I can't ping the router or the
> internet from either.
>
> Am I doing something wrong?

In most routers you cannot have the same subnet address configured
on multiple VLANs. I would be very surprised if your default
gateway allows you to do something like that. With your current
configuration, it appears that traffic coming back from the router
will always be classified as being on only one VLAN, either because
you have tagging on and router will put on the tag, or you don't
have tagging and the incoming port on the switch always classifies
the frame as being on the PVID. The simplest way to fix this would
be to have 2 subnets (i.e. different interface addresses) for VLAN A
and VLAN B on the router, assuming it does VLANs. If it doesn't do
VLANs, then you will need to have 2 separate ports on the router,
one in VLAN A and one in VLAN B, each configured with the default
gateway address to be used for that VLAN. And you would then need
to find a way to prevent routing between those VLANs if you don't
want the hosts in VLAN A to communicate with the hosts in VLAN B
even via routing.

Anoop



Similar ThreadsPosted
VLAN Configuration October 20, 2005, 8:26 pm
LAN Configuration January 6, 2006, 8:37 am
Network configuration problem September 7, 2007, 7:23 am
Tool To Diagnose Network Configuration Errors November 19, 2006, 12:22 am
Is explicit switch configuration for dynamic lacp required????? December 22, 2005, 8:52 am
VNSwitch 900CG Installation and Configuration Manual? (DECHub/MultiSwitch 900) September 23, 2008, 10:05 pm
What is VLAN, how it is used?. I have 4 PC's on one LAN connectd to router, how can I apply VLAN concept here?. February 4, 2005, 1:16 am
Which router for vlan - vlan to internet September 7, 2004, 2:37 pm
Vlan Add and Vlan Strip August 30, 2004, 2:39 am
VLAN Help (for a Vlan newbie) November 6, 2006, 12:09 pm
port-based vlan and tag-based vlan October 21, 2008, 2:03 pm
port-based vlan and tag-based vlan October 21, 2008, 2:03 pm
VLAN December 13, 2005, 4:23 pm
VLAN and VPN January 17, 2007, 1:05 pm
VPN Vs VLAN December 21, 2007, 3:54 pm