Quantcast
Channel: VIRL
Viewing all articles
Browse latest Browse all 1811

Router subinterfaces, vlan trunking, cannot ping across vlans through router

$
0
0

@immortl wrote:

I have been driving myself nuts over the past week attempting to set up a very basic lab. I cannot figure out what I am missing when setting up the following:

asa - iosv router - iosvl2 switch - win7 workstation

iosv router has single connection to asa, ping across just fine.
iosv router has single physical connection with 2 subinterfaces to switch, g0/2.2 and g0/2.3.
iosvl2 switch has vlan 2 and 3 defined, ip on vlan2, default gateway set to ip of router g0/2.2.
iosvl2 with g0/1 is dot1q trunk, vlans 2 and 3 allowed.

Finally figured out had to shut/no shut the port to bring trunk up. Once trunk is up though, from the switch I can only ping subinterface IPs, NOT any other interface on router. From the workstation, I can only ping the gateway IP on the router, again, no other interfaces. Seems like I'm missing something pertaining to routing but I do not understand what. All IPs show up as connected in routers ip route table.

relevant configs:

*****'ROUTER1*****

interface GigabitEthernet0/1
description to fw1
ip address 10.0.0.10 255.255.255.252
duplex full
speed auto
media-type rj45
!
interface GigabitEthernet0/2
description to switch1
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/2.2
description vlan2
encapsulation dot1Q 2
ip address 10.0.0.5 255.255.255.252
no cdp enable
!
interface GigabitEthernet0/2.3
description vlan 3
encapsulation dot1Q 3
ip address 10.0.1.1 255.255.255.0
no cdp enable

****SWITCH1*****
interface GigabitEthernet0/1
description to router1
switchport trunk allowed vlan 2,3
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
!
interface GigabitEthernet0/2
description to win7-sp1-1
switchport access vlan 3
switchport mode access
media-type rj45
negotiation auto
!
!
interface Vlan2
ip address 10.0.0.6 255.255.255.0
!
ip default-gateway 10.0.0.5
ip forward-protocol nd

Posts: 3

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1811

Latest Images

Trending Articles



Latest Images