05-08-2017 02:17 AM - edited 03-05-2019 08:29 AM
Hi Everyone,
I have a Cisco 891F router, i need to configure two LAN s segements on this router and connect it with two ISP's router. One ISP will be placed on the Gi8 interface and the other with Fa0
My question is , how can i configure the router so the first LAN will be served from the first ISP. And the second LAN with th other
Solved! Go to Solution.
05-08-2017 07:41 AM
well i changed the config, and now even the dhcp doesn t work, i putted pc's on the lan's and they don t receive ip addresses
here it is what sh running -config shows:
hostname RouterC891F
!
boot-start-marker
boot-end-marker
!
!
enable secret
enable password
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
ip vrf lan-employes
rd 65000:99
route-target export 65000:99
route-target import 65000:1
!
ip vrf lan-etudiants
rd 65000:98
route-target export 65000:98
route-target import 65000:2
!
ip vrf proximus
rd 65000:2
route-target export 65000:2
route-target import 65000:98
!
ip vrf voo
rd 65000:1
route-target export 65000:1
route-target import 65000:99
!
ip dhcp relay information option
ip dhcp excluded-address 192.168.8.1 192.168.8.29
ip dhcp excluded-address 192.168.8.201 192.168.8.254
ip dhcp excluded-address 192.168.20.1 192.168.20.9
ip dhcp excluded-address 192.168.20.251 192.168.20.254
ip dhcp excluded-address 192.168.1.10 192.168.1.254
ip dhcp excluded-address 192.168.8.1 192.168.8.10
ip dhcp excluded-address 192.168.20.1 192.168.20.10
ip dhcp excluded-address 192.168.20.250 192.168.20.254
ip dhcp excluded-address 192.168.8.250 192.168.8.254
ip dhcp excluded-address 192.168.1.1
ip dhcp excluded-address 192.168.10.1 192.168.10.10
!
ip dhcp pool vlan100
import all
vrf voo
network 192.168.8.0 255.255.255.0
dns-server 195.238.2.21 195.238.2.22
default-router 192.168.8.1
!
ip dhcp pool vlan200
import all
vrf proximus
network 192.168.20.0 255.255.255.0
dns-server 195.238.2.21 195.238.2.22
default-router 192.168.20.1
!
ip dhcp pool proximus
network 192.168.1.0 255.255.255.0
dns-server 8.8.8.8
default-router 192.168.1.1
!
!
ip dhcp class Employes
option 60 hex 010203
!
ip dhcp class Etudiants
option 60 hex 010203
!
ip dhcp class proximus
option 60 hex 010203
!
!
ip name-server 195.238.2.21
ip name-server 195.238.2.22
ip name-server 8.8.8.8
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C891F-K9 sn FCZ205390HP
!
!
!
!
!
!
!
ip ssh version 1
ip ssh pubkey-chain
username
!
!
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
isdn point-to-point-setup
!
interface FastEthernet0
description **proximus**
ip vrf forwarding proximus
ip address 10.0.0.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
duplex full
speed 100
!
interface GigabitEthernet0
no ip address
duplex full
speed 100
!
interface GigabitEthernet1
switchport access vlan 100
no ip address
!
interface GigabitEthernet2
switchport access vlan 100
ip dhcp relay information option-insert
ip dhcp relay information check-reply
ip dhcp relay information policy-action replace
no ip address
duplex full
speed 100
!
interface GigabitEthernet3
switchport access vlan 200
ip dhcp relay information option-insert
ip dhcp relay information check-reply
ip dhcp relay information policy-action replace
no ip address
duplex full
speed 100
!
interface GigabitEthernet4
no ip address
shutdown
!
interface GigabitEthernet5
no ip address
shutdown
!
interface GigabitEthernet6
no ip address
shutdown
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
description **voo**
ip vrf forwarding voo
no ip address
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.10.1 255.255.255.0
!
interface Vlan100
description **Employes**
ip vrf forwarding lan-employes
ip address 192.168.8.1 255.255.255.0
ip helper-address global 192.168.8.1
ip nat inside
ip virtual-reassembly in
!
interface Vlan200
ip vrf forwarding lan-etudiants
ip address 192.168.20.1 255.255.255.0
ip helper-address global 192.168.20.1
ip nat inside
ip virtual-reassembly in
!
interface Vlan2000
no ip address
!
interface Async3
no ip address
encapsulation slip
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source route-map NAT-proximus interface FastEthernet0 vrf proximus overload
ip nat inside source route-map NAT-voo interface GigabitEthernet8 vrf voo overload
ip route 10.0.0.0 255.255.255.0 10.0.0.1
ip route vrf voo 0.0.0.0 0.0.0.0 192.168.0.1 name voo
ip route vrf proximus 0.0.0.0 0.0.0.0 10.0.0.1 name proximus
!
dialer-list 1 protocol ip permit
!
route-map NAT-voo permit 10
match interface GigabitEthernet8
!
route-map NAT-proximus permit 10
match interface FastEthernet0
!
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line 3
modem InOut
speed 115200
flowcontrol hardware
line vty 0 4
password
login
transport input ssh
!
scheduler allocate 20000 1000
!
!
end
and here s what sh ip dhcp pool shows
Pool vlan100 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
VRF name : voo
Total addresses : 254
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
192.168.8.1 192.168.8.1 - 192.168.8.254 0
Pool vlan200 :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
VRF name : proximus
Total addresses : 254
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
192.168.20.1 192.168.20.1 - 192.168.20.254 0
Please help me checking this, if i missed something or i did smth wrong
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