hi
Robert Weiler ,
I meant 'configure vlan vlan200 tag 200' as you have pointed out .
NOW , I have following configuration in cisco
* X460-24t.2 # create vlan test
* X460-24t.3 # configure vlan "test" tag 10
* X460-24t.4 # configure vlan "Default" delete ports 1-10
* X460-24t.5 # configure vlan "test" add ports 1-10
* X460-24t.8 # configure vlan test ipaddress 192.168.1.1/24
IP interface for VLAN test has been created.
* X460-24t.9 # enable dhcp ports 1-10 vlan "test"
* X460-24t.10 # configure vlan "test" dhcp-address-range 192.168.1.2 - 192.168.1.20
* X460-24t.12 # enable ipforwarding vlan test
* X460-24t.14 # create vlan vlan34
* X460-24t.15 # configure vlan vlan34 ipaddress 192.168.0.1/24
IP interface for VLAN vlan34 has been created.
* X460-24t.16 # configure vlan "Default" delete ports 11
* X460-24t.17 # configure vlan "vlan34" add ports 11
* X460-24t.18 # configure iproute add default 192.168.0.1
* X460-24t.19 # enable ipforwarding vlan vlan34
Currently what happens is
a PC attached directly to any port among 1-10 gets ip 192.168.1.[2-20] . it is able to ping 192.168.1.1 but not 192.168.0.1 .
What I want is
Firstly , i will connect a system to any one port among 1-10 which will take vlan tagged packets (in this case vlan 10) . The system passes the packet to attached multiple PC's after removing vlan 10 . Similiarly , it attaches vlan 10 to packets coming from PC's towards x460-24t.
Secondly , as paul russo has said to add default gateway of 192.168.0.1 for every vlan so that pc is able to ping 192.168.0.1 even though it is out of its subnet . How can I do that ?
Thanks robert weiler , sumit tokle , paul russo .