11-28-2008 07:51 AM - edited 03-06-2019 02:43 AM
Hi,
I have just created some switchport vlans to segment my user, server etc....
Please what do I need to do for my user vlan to communicate with my server vlan?
Thanks all
11-28-2008 09:56 AM
Assuming you've also assigned differnt IP networks to your VLAN segments, you'll need to route between them. If all the VLANs come together on the same router or L3 switch, on Cisco equipement, you'll likely only need to enable IP routing io the network device. Additionally, either the router or L3 switch will need to proxy other networks, or each host will need the router's or L3 switch's interface address defined as a gateway address.
Additonally, if more than one router or L3 switch is involved, you either either need to define static routes on them or use a dynamic routing protocol (e.g. RIP, EIGRP, OSPF, etc.)
11-28-2008 11:44 AM
Hi
First you have to do your vlans on a L3 switch or router.this is becasue you have to have SVI interfaces.
#interface vlan 10
#ip addr x.x.x.x y.y.y.y
so by doing these commnad you makes SVI for you vlan.
no if you are on router you are done if you are in L3 switch , you need just to provide
#ip routing commnad on switch.
now you are done.
Rate if helps.
11-29-2008 02:41 AM
Thanks you all for your time and solutions.
What I have on my router is shown below. I just need a command that will allow traffic from one vlan to another.
Cheers!
interface FastEthernet0/2/0
switchport access vlan 2
!
interface FastEthernet0/2/1
switchport access vlan 3
!
interface FastEthernet0/2/2
switchport access vlan 4
!
interface FastEthernet0/2/3
switchport access vlan 5
!
!
interface Vlan2
description USER VLAN
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan3
description SERVER VLAN
ip address 192.168.3.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan4
description TRAINING VLAN
ip address 192.168.4.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Vlan5
description DMZ VLAN
ip address 192.168.5.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
11-29-2008 03:20 AM
What device are you configuring this on ?
If it is a L3 switch then it should work fine as is. Have you enabled "ip routing" ? - please post output of "sh ip route"
A client in vlan 2 will need it's default-gateway set to 192.168.1.1.
A client in vlan 3 will need it's default-gateway set to 192.168.3.1
etc...
Jon
11-29-2008 03:24 AM
Dear
According that you are in your router
there is no need for any further configuration.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide