cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4035
Views
0
Helpful
16
Replies

Cisco 881: Need help with DHCP not assigning IP to VLAN 10 (beginner)

Mawk
Level 1
Level 1

Hello,

 

Let me start by telling I'm a complete beginner, but I've tried reading posts on this forum, YouTube, Googling etc. to find an solution, but I'm stuck.

 

I have an static IP from my ISP, it's a /30 subnet, so I only have one IP for my WAN and a GW. I think I have assigned it correctly to my WAN port (Fa4), and I have created a DHCP pool and assigned Fa0 to VLAN 10.

 

Problem is that I can't get an IP assigned to my laptop which is connected to Fa0, but if I do an ipconfig /renew, I can see an ARP for a few seconds, but my laptop still has an 169.x.x.x IP-address.

 

The other problem is that I can't ping outside to the Internet.

 

I'm sure I have made a rookie mistake, but I can't for the sake of me, see what. The IP 200.50.70.10/30 is just an example and not my real IP-address.

Router#sh run
Building configuration...

Current configuration : 1337 bytes
!
! Last configuration change at 18:53:28 UTC Wed Feb 6 2036
! NVRAM config last updated at 19:03:10 UTC Wed Feb 6 2036
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no logging console
!
no aaa new-model
memory-size iomem 10
!
!
ip source-route
!
!
ip dhcp excluded-address 10.10.10.1 10.10.10.10
!
ip dhcp pool VLAN10pool
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1 
   dns-server 8.8.8.8 
!
!
ip cef
no ipv6 cef
!
!
license udi pid CISCO881-K9 sn FCZ1604911J
!
!
!
!
! 
!
!
!         
!
!
!
interface FastEthernet0
 description Name: Internal ID: VLAN10
 switchport access vlan 10
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface FastEthernet4
 description Name: WAN ID: 32711223
 ip address 200.50.70.10 255.255.255.252
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
!
interface Vlan10
 ip address 10.10.10.1 255.255.255.0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 200.50.70.9
!
!
!
!
!
!
control-plane
!
!
line con 0
 no modem enable
line aux 0
line vty 0 4
 login    
!
scheduler max-task-time 5000
end
Router#sh vlan-switch 

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa1, Fa2, Fa3
10   VLAN0010                         active    Fa0
20   VLAN0020                         active    
30   VLAN0030                         active    
1002 fddi-default                     act/unsup 
1003 token-ring-default               act/unsup 
1004 fddinet-default                  act/unsup 
1005 trnet-default                    act/unsup 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
10   enet  100010     1500  -      -      -        -    -        0      0   
20   enet  100020     1500  -      -      -        -    -        0      0   
30   enet  100030     1500  -      -      -        -    -        0      0   
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   0      -        -    srb      1      1002
1004 fdnet 101004     1500  -      -      1        ibm  -        0      0   
1005 trnet 101005     1500  -      -      1        ibm  -        0      0   

Looking for all the help I can get.

Thanks.

16 Replies 16

Thanks, this worked, but I also found out that I needed to tag my traffic with a specific VLAN, so I had to create a subinterface on Fa4, change the routing to this, and now everything works!

Thanks all. Have a great day.

Hello,

 

indeed certain ISPs require specific VLAN subinterfaces. Which ISP do you have ?