Inter VLAN

35 pts.
Tags:
Networking
Switches
Switching
Virtual LAN
VLAN
i have 1 switch that i had install vlan 1 and vlan 2. i also have 1 router to connect to the switch through the server. how to make vlan 1 and vlan 2 can access each other? please help me. i'm still new in networking field..
ASKED: October 6, 2010  3:26 PM
UPDATED: February 16, 2011  2:50 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

What kind of switches / router do you have? If you have “advanced” switches, you could set one of them up to BE the router; if not, then either set up a trunk port from the router to one switch; or use 2 ports on the router to 2 ports on one switch in the 2 different VLAN’s (or just use one switch as vlan1 and one as vlan2 – it really depends on what you expect to do, and why you have 2 switches in the first place.

Something like:
int fast 0/0
no ip address
duplex full
int fast 0/0.1
encap dot1q 10 native
ip address 192.168.10.1 255.255.255.0
ip helper-address 192.168.10.20
int fast 0/0.2
encap dot1q 11 native
ip address 192.168.11.1 255,255,255,0
ip helper-address 192.168.10.20

This assumes you set up vlans 10 and 11; and the DHCP server, if you have one, is at the 192.168..10.20 address. Workstations on vlan 10 would probably find the DHCP server anyway; but you need the helper-address to get IP from the same server for workstations NOT on vlan10. Remember to create a scope on the DHCP server as well !

————————————–

Agreed – Set up a trunk to the router, use subinterfaces and forward DHCP to whatever is running the service…

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jcsoto
    Hi, I am no really sure what you mean with the router connect to the switch through the server. I understand your switch is layer 2 switch so you need to connect the switch to the router using a trunk link, which can carry both vlans. The routing between the two vlans will be done by the router.
    35 pointsBadges:
    report
  • Skh
    [...] Inter VLAN [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following