cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2517
Views
0
Helpful
17
Replies

How to configure Multiple DHCP with internet access

cool01
Level 1
Level 1

I would like to ask some help to fix my configuration by using Multiple DHCP with internet access.

Currently my configuration below is connected to multiple dhcp unfortunately unsuccessful Internet access.

 

Current configuration : 1449 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

no logging buffered

enable secret 5 $1$nrgd$KqCZrWkVWFUIV/4V5DNRn/

!

no aaa new-model

!

resource policy

!

mmi polling-interval 60

no mmi auto-configure

no mmi pvc

mmi snmp-timeout 180

ip subnet-zero

ip cef

!

ip dhcp excluded-address 192.168.10.1 192.168.10.10

ip dhcp excluded-address 192.168.20.1 192.168.20.10

!

ip dhcp pool vlan10

network 192.168.10.0 255.255.255.0

default-router 192.168.10.1

dns-server 103.225.36.226 103.225.36.238

!

ip dhcp pool vlan20

network 192.168.20.0 255.255.255.0

default-router 192.168.20.1

dns-server 103.225.36.226 103.225.36.238

!

interface FastEthernet0/1.10

encapsulation dot1Q 10

ip address 192.168.10.1 255.255.255.0

ip nat outside

!

interface FastEthernet0/1.20

encapsulation dot1Q 20

ip address 192.168.20.1 255.255.255.0

ip nat inside

 

username fair password 0 fairship

!

!

interface FastEthernet0/0

 description Link_to_ISP$ETH-LAN$

 ip address 103.225.36.242 255.255.255.252

ip nat inside

 speed 100

 full-duplex

!

interface FastEthernet0/1

 description Link_to_LAN$ETH-LAN$$ES_LAN$

ip nat outside

no ip address

ip nbar protocol-discovery

 speed 100

 full-duplex

!

 service-policy output DROP

!

interface Serial0/0/0

 no ip address

 shutdown

 clock rate 2000000

!

ip classless

ip route 0.0.0.0 0.0.0.0 103.225.36.241

!

ip http server

!

control-plane

!

line con 0

 password fairshipping

 logging synchronous

 login

line aux 0

line vty 0 4

 password fairshipping

 logging synchronous

 login local

!

end

 

 

17 Replies 17

In this case can i act my network to be multiple DHCP?

Sir please see the show command of our configuration, still again no internet access in our Multiple DHCP. Thanks

 

Router#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            103.225.36.242  YES NVRAM  up                    up
FastEthernet0/1            unassigned      YES manual up                    up
FastEthernet0/1.10         192.168.10.1    YES manual up                    up
FastEthernet0/1.20         192.168.20.1    YES manual up                    up
Serial0/0/0                unassigned      YES NVRAM  administratively down down
NVI0                       unassigned      YES unset  up                    up
Router#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 103.225.36.241 to network 0.0.0.0

     103.0.0.0/30 is subnetted, 1 subnets
C       103.225.36.240 is directly connected, FastEthernet0/0
C    192.168.10.0/24 is directly connected, FastEthernet0/1.10
C    192.168.20.0/24 is directly connected, FastEthernet0/1.20
S*   0.0.0.0/0 [1/0] via 103.225.36.241
Router#sh int fa0/0
FastEthernet0/0 is up, line protocol is up
  Hardware is Gt96k FE, address is 0024.9790.c502 (bia 0024.9790.c502)
  Description: Link_to_BlackFiber$ETH-LAN
  Internet address is 103.225.36.242/30
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 2/255, rxload 19/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 7492000 bits/sec, 1019 packets/sec
  5 minute output rate 1161000 bits/sec, 802 packets/sec
     19548534 packets input, 1761729385 bytes
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     14368984 packets output, 3187275944 bytes, 0 underruns
     0 output errors, 0 collisions, 4 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
Router#sh int fa0/1
FastEthernet0/1 is up, line protocol is up
  Hardware is Gt96k FE, address is 0024.9790.c503 (bia 0024.9790.c503)
  Description: Link_to_LAN$ETH-LAN$$ES_LAN$
  MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
     reliability 255/255, txload 17/255, rxload 2/255
  Encapsulation 802.1Q Virtual LAN, Vlan ID  1., loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, 100BaseTX/FX
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:03, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 848000 bits/sec, 497 packets/sec
  5 minute output rate 6948000 bits/sec, 699 packets/sec
     14172978 packets input, 3193396309 bytes
     Received 32367 broadcasts, 0 runts, 0 giants, 0 throttles
     15 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog
     0 input packets with dribble condition detected
     19344740 packets output, 1734312529 bytes, 0 underruns
     0 output errors, 0 collisions, 4 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out
Router#ping google.com
Translating "google.com"...domain server (103.225.36.238) [OK]

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 216.58.200.14, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/22/24 ms
Router#ping 103.225.36
% Unrecognized host or address, or protocol not running.

Router#ping 103.225.36.238

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 103.225.36.238, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

Already resolve my problem. Thank you very much sir, really appreciated.