10-24-2011 08:00 AM - edited 03-07-2019 03:01 AM
Why is f0/0/2 not working?
interface GigabitEthernet0/0
description LAN
no ip address
ip nat inside
ip virtual-reassembly
load-interval 30
duplex auto
speed auto
!
!
interface GigabitEthernet0/0.1
encapsulation dot1Q 206
ip address 10.192.28.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 192.168.28.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
!
interface FastEthernet0/0/2
switchport access vlan 206
!
10-24-2011 09:36 AM
Hi,
delete your subinterface config and create interface VLAN 206 and give it an ip address in the correct subnet.
Do the same for other VLAN in a different subnet.
Regards.
Alain
10-24-2011 10:59 AM
delete G0/0.1 and G0/0.2
create int vlan 206 and int vlan 2
put an IP on each int for the correct subnet
Do I have to make G0/0 a trunk?
10-24-2011 12:24 PM
Hi,
Do I have to make G0/0 a trunk?
No you don't need to , all hosts on the access ports will use the vlan interfaces to route.
Don't forget to give ip of correct vlan interface as default-gateway for hosts.
Alain.
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