luke121108
Technical User
ok,I have set up one sub-interface 0/0.1 on a router for ip address DHCP, I can ping my routers other sub-interfaces 0/0.2,0/0.3 when I connect my pc to a switchport,and as a test i connected the ISP directly to the routers fa0/1(second port)and was able to get a IP assigned to it,but when I connect the ISP to switchport fa0/1 it wont assign a isp to the sub-interface 0/0.1.Any help out there
interface FastEthernet0/1
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 3
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
description OUTSIDE VLAN
ip address 192.168.1.99 255.255.255.0
!
interface Vlan2
description VOICE VLAN
no ip address
!
interface Vlan3
description DATA VLAN
interface FastEthernet0/0.1
description OUTSIDE INTERFACE
encapsulation dot1Q 1 native
ip address dhcp
ip nat outside
ip virtual-reassembly
!
interface FastEthernet0/0.2
description VOICE LAN INTERFACE
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/0.3
description DATA LAN INTERFACE
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.128
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.30
description WIRELESS
encapsulation dot1Q 30
ip address 192.168.3.129 255.255.255.128
ip nat inside
ip virtual-reassembly
no ip address
interface FastEthernet0/1
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 3
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
description OUTSIDE VLAN
ip address 192.168.1.99 255.255.255.0
!
interface Vlan2
description VOICE VLAN
no ip address
!
interface Vlan3
description DATA VLAN
interface FastEthernet0/0.1
description OUTSIDE INTERFACE
encapsulation dot1Q 1 native
ip address dhcp
ip nat outside
ip virtual-reassembly
!
interface FastEthernet0/0.2
description VOICE LAN INTERFACE
encapsulation dot1Q 2
ip address 192.168.2.1 255.255.255.0
!
interface FastEthernet0/0.3
description DATA LAN INTERFACE
encapsulation dot1Q 3
ip address 192.168.3.1 255.255.255.128
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.30
description WIRELESS
encapsulation dot1Q 30
ip address 192.168.3.129 255.255.255.128
ip nat inside
ip virtual-reassembly
no ip address