My cisco 2821 router is my voice gateway and also my dhcp server. I also have a 876 cisco aDSL router as my internet gateway. Now I added an aDSL HWIC card to my 2821 router to route one of my Vlan's traffic to this interface. When I was using a non-cisco aDSL router connected to my switch (CE500) and with the vlans set everything was working ok. Now with the ATM / Dialer interface card added to the cisco 2800 I can't find a solution to my problem. the config is the following:
ip dhcp pool ITS network 192.168.0.0 255.255.255.0 default-router 192.168.0.253 dns-server 220.127.116.11 option 150 ip 192.168.0.1 lease 0 0 30 ! ip dhcp pool WLAN network 192.168.4.0 255.255.255.0 default-router 192.168.4.1 dns-server 18.104.22.168 lease 0 0 30 ! ! interface GigabitEthernet0/0 description $ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$$FW_INSIDE$$ETH-LAN$ no ip address ip nat inside ip virtual-reassembly duplex auto speed auto ! interface GigabitEthernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.0.1 255.255.255.0 ! interface GigabitEthernet0/0.3 description wireless encapsulation dot1Q 3 ip address 192.168.4.1 255.255.255.0 ip nat inside ip virtual-reassembly ! interface GigabitEthernet0/1 description $FW_INSIDE$$ETH-LAN$ ip address 192.168.1.2 255.255.255.0 ip nat outside ip virtual-reassembly duplex auto speed auto ! interface ATM0/3/0 no ip address no ip redirects no ip unreachables no ip proxy-arp ip route-cache flow no atm ilmi-keepalive dsl operating-mode auto ! interface ATM0/3/0.1 point-to-point description ClientsWAN no snmp trap link-status pvc 8/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface Dialer0 no ip address no ip redirects no ip unreachables no ip proxy-arp ip nat outside ip virtual-reassembly encapsulation ppp ip route-cache flow dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname ... ppp chap password ... ! ip route 0.0.0.0 0.0.0.0 192.168.0.253 ! ! ip http server ip http authentication local ip http secure-server ip http timeout-policy idle 5 life 86400 requests 10000 ip nat inside source list 102 interface GigabitEthernet0/1 overload ip nat inside source list 103 interface Dialer0 overload ! logging 192.168.1.10 logging 192.168.2.158 access-list 102 permit ip 192.168.0.0 0.0.0.255 any access-list 103 permit ip 192.168.4.0 0.0.0.255 any dialer-list 1 protocol ip permit !
192.168.0.253 is my other native vlan aDSL router
What I am trying to accomplish is to route the vlan GigabitEthernet0/0.3 network the dialer0 (atm0/3/0.1)
Yes I have 192.168.4.1 on my vlan 3 because my non cisco router (ZTE) is on 192.168.4.0 network (this router serves my clients' vlan for internet access with an ip address 192.168.4.254). I forgot to mention that I have a tunnel on my primary aDSL (Cisco 876, 192.168.0.253) that allows a phone to communicate with my voice gateway, through the internet (its in a remote location), so I need my 192.168.0.0 voice network to go through the aDSL of the Cisco 876) My cisco 876 config is the following:
interface Tunnel0 ip address 10.1.1.1 255.255.255.248 tunnel source Dialer0 tunnel destination 22.214.171.124 ! interface ATM0 no ip address no ip redirects no ip unreachables no ip proxy-arp ip route-cache flow no atm ilmi-keepalive dsl operating-mode auto ! interface ATM0.1 point-to-point description $FW_OUTSIDE$$ES_WAN$ pvc 8/35 encapsulation aal5mux ppp dialer dialer pool-member 1 ! ! interface FastEthernet0 no cdp enable ! interface FastEthernet1 no cdp enable ! interface FastEthernet2 no cdp enable ! interface FastEthernet3 no cdp enable ! interface Vlan1 description $ETH-SW-LAUNCH$$INTF-INFO-HWIC 4ESW$$ES_LAN$$FW_INSIDE$ ip address 192.168.1.1 255.255.255.0 secondary ip address 192.168.0.253 255.255.255.0 no ip redirects no ip unreachables no ip proxy-arp ip nat inside ip virtual-reassembly ip route-cache flow ip tcp adjust-mss 1452 ! interface Dialer0 ip address negotiated no ip redirects no ip unreachables no ip proxy-arp ip nat outside ip virtual-reassembly encapsulation ppp ip route-cache flow dialer pool 1 dialer-group 1 no cdp enable ppp authentication chap pap callin ppp chap hostname ... ppp chap password ...
! no ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 Dialer0 ip route 192.168.2.0 255.255.255.0 Tunnel0 ! ip nat inside source list 1 interface Dialer0 overload ! no logging trap access-list 1 remark INSIDE_IF=Vlan1 access-list 1 remark SDM_ACL Category=2 access-list 1 permit 192.168.1.0 0.0.0.255 access-list 1 permit 192.168.0.0 0.0.0.255 dialer-list 1 protocol ip permit
So to summarise:
192.168.0.0/24 is my network for my phones (native vlan 1) 192.168.1.0/24 is my network that uses the Cisco 876 aDSL for internet access (native vlan 1) 192.168.2.0/24 is my remote tunnel network for my remote ip phone (native vlan 1) 192.168.4.0/24 is my clients' wireless network (vlan 3) that i want to route to my HWIC aDSL interface on my Cisco 2821. (now this it works with a ZTE modem / router on vlan 3 on the switch with access vlan 3 and it works fine but I want to get rid of the ZTE modem/router)
I have a public static ip for my cisco 876 atm interface and a dynamic on my cisco 2821 atm interface
I though I could use route map and ip matching as I saw on some other examples on the internet but I am not sure for the solution...
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.