InterVLAN between a PC and Router
Router configuration on the Router0 on the right :
no ip routing (routing is disabled)
interface GigabitEthernet0/0
ip address 192.168.2.2 255.255.255.0
ip default-gateway 192.168.2.1(gateway is switch interface)
[Note if gateway is not configured than a default route or
static routes have to be configured on the Router as it
should know a way to the subnets ]
Switch configuration:
ip routing (routing is enabled)
interface Vlan10
ip address 192.168.1.1 255.255.255.0interface Vlan20
ip address 192.168.2.1 255.255.255.0
PC is the basic configuration of IP and Gateway.
No comments:
Post a Comment