Switches, Hubs, and Modems
1753962 Members
7423 Online
108811 Solutions
New Discussion юеВ

hi

 
caniruddha
New Member

hi

I m useing Hp 2626 PWR sitch. i have created 2 vlan vlan 50 ip address - 192.168.168.2/24
vlan 2 ip address 192.168.1.5/24. now i want to comunicate between both vlan. wht is the command for ip routing ?
3 REPLIES 3
Matt Hobbs
Honored Contributor

Re: hi

#config
#ip routing
#wr mem
caniruddha
New Member

Re: hi

hi thnx for reply...following is my setup senario..
1) i have created vlan 50 in building A switch and vlan 2 on building B switch ..and between two building i am using point to point wireless link.

2) ip address of server X connected to vlan 50 is 192.168.168.10/24
Ip address of server Y connected to VLAN 2 is 192.168.1.10/24

so could you please advice me how i can access from server X to server Y because both are into different VLAN.
Matt Hobbs
Honored Contributor

Re: hi

This is what I'd do:

SwitchA:

#conf
(config)# vlan 50
(vlan-50)# ip address 192.168.168.2/24
(vlan-50)# untagged
(vlan-50)# vlan 1
(vlan-1)# ip address 192.168.2.1/24
(vlan-1)# untagged
(vlan-1)# exit
# ip routing
# ip route 192.168.1.0/24 192.168.2.2
# wr mem

SwitchB:

#conf
(config)# vlan 2
(vlan-2)# ip address 192.168.1.5/24
(vlan-2)# untagged
(vlan-2)# vlan 1
(vlan-1)# ip address 192.168.2.2/24
(vlan-1)# untagged
(vlan-1)# exit
# ip routing
# ip route 192.168.168.0/24 192.168.2.1
# wr mem