cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2290
Views
10
Helpful
27
Replies

C897Va to ISP Modem

billybong
Level 1
Level 1

Hi all

Could someone please check my config as i'm not getting any pings back

My idea is use a dialer to connect to the modem to access the internet, the modem was supplied by the ISP

 

sh ip int brie

Interface                  IP-Address      OK? Method Status                Protocol

ATM0                       unassigned      YES NVRAM  administratively down down   

BRI0                       unassigned      YES NVRAM  administratively down down   

BRI0:1                     unassigned      YES unset  administratively down down   

BRI0:2                     unassigned      YES unset  administratively down down   

Dialer0                    unassigned      YES NVRAM  up                    up     

Dialer1                    unassigned      YES unset  up                    up     

Ethernet0                  unassigned      YES NVRAM  administratively down down   

GigabitEthernet0           unassigned      YES unset  down                  down   

GigabitEthernet1           unassigned      YES unset  down                  down   

GigabitEthernet2           unassigned      YES unset  down                  down   

GigabitEthernet3           unassigned      YES unset  down                  down   

GigabitEthernet4           unassigned      YES unset  down                  down   

GigabitEthernet5           unassigned      YES unset  down                  down   

GigabitEthernet6           unassigned      YES unset  down                  down   

GigabitEthernet7           unassigned      YES unset  up                    up     

GigabitEthernet8           unassigned      YES manual up                    up     

NVI0                       unassigned      YES unset  up                    up     

Virtual-Access1            unassigned      YES unset  up                    up     

Vlan1                      X.X.X.X YES NVRAM  up                    up     

 

interface GigabitEthernet8

no ip address

duplex auto

speed auto

pppoe enable group global

pppoe-client dial-pool-number 1

!

interface Vlan1

ip address XXXXXXXX

!

interface Dialer0

mtu 1492

ip address negotiated

no ip redirects

no ip unreachables

no ip proxy-arp

ip nat outside

no ip virtual-reassembly in

encapsulation ppp

ip tcp adjust-mss 1452

dialer pool 1

dialer idle-timeout 0

dialer-group 1

ppp mtu adaptive

ppp authentication chap pap callin

ppp chap hostname XXXXX@XXXXX

ppp chap password 7 XXXXXXXX

ppp pap sent-username XXXXX password 7 XXXXX

ppp ipcp dns request accept

ppp ipcp route default

ppp ipcp address accept

no cdp enable

!

interface Dialer1

no ip address

!

ip forward-protocol nd

ip http server

ip http authentication local

ip http secure-server

!

ip nat inside source list NAT interface Dialer0 overload

ip route 0.0.0.0 0.0.0.0 Dialer0

!

dialer-list 1 protocol ip permit

!

control-plane

 

 

 

 

 

27 Replies 27

Hello,

 

I don't think your setup is going to work unless the ISP provided modem is configured in bridge mode. What model/type is the modem ?

 

The config below (important parts marked in bold) should allow a ping from GigabitEthernet8 to anything on the Internet e.g. ping 8.8.8.8 source-interface GigabitEthernet8). For the rest (the Vlan 1 subnet) to have Internet connectivity, you need a route back to that subnet from your ISP modem...

 

Router#sh run
Building configuration...

Current configuration : 2611 bytes
!
version 15.5
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
ethernet lmi ce
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
controller VDSL 0
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface Ethernet0
no ip address
shutdown
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
no ip address
!
interface GigabitEthernet5
no ip address
!
interface GigabitEthernet6
no ip address
!
interface GigabitEthernet7
no ip address
!
interface GigabitEthernet8
--> ip address dhcp

--> ip nat outside
duplex auto
speed auto

!
interface Vlan1
ip address X.X.X.X 255.255.255.0

--> ip nat inside
!
interface Dialer1
no ip address
shutdown
!
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
!
ip dns server
--> ip nat inside source list 1 interface GigabitEthernet8 overload
--> ip route 0.0.0.0 0.0.0.0 GigabitEthernet8 dhcp
!
access-list 1 permit X.X.X.X 0.0.0.255
!
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
!
vstack
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
login local
transport input none
!
scheduler allocate 20000 1000
!
end

thanks for the reply Georg

 

the fiber box is a Huawei HG8012H assuming this is in bridge mode what would i need to do as the above config still isn't working still, i'm not recieving an IP address on int G8

 

GigabitEthernet8 is up, line protocol is up
Hardware is PQ3_TSEC, address is 002c.c856.7c76 (bia 002c.c856.7c76)
Internet address will be negotiated using DHCP
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full Duplex, 1Gbps, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:08:38, output 00:00:08, 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 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
2 packets input, 128 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input

 

 

 

Thanks for help

FYI the ISP supplied a /32 address which im finding strange

Hello,

 

if you are sure th modem is in bridge mode, try the config below:

 

interface Ethernet0
no ip address
no shutdown

!

interface Ethernet0.101
encapsulation dot1Q 101
no ip redirects
no ip proxy-arp
ip virtual-reassembly in
pppoe enable group global
pppoe-client dial-pool-number 1

no shutdown
!

interface GigabitEthernet8
no ip address
duplex auto
speed auto
!
interface Vlan1
ip address X.X.X.X 255.255.255.0

ip nat inside
!
interface Dialer0
mtu 1492
ip address negotiated

no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1492
ip flow ingress
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp mtu adaptive
ppp authentication pap chap ms-chap callin
ppp chap hostname mypassword@mydomain
ppp chap password 7 my password
ppp ipcp dns request
ppp ipcp route default
ppp ipcp address accept
no cdp enable
!
ip nat inside source list 1 interface Dialer0 overload
ip route 0.0.0.0 0.0.0.0 Dialer0
!
dialer-list 1 protocol ip permit
!
access-list 1 permit X.X.X.X 0.0.0.255

thanks for the config, i'm assuming i need to move the cable from port G8 to E0?

There should be an ADSL/VDSL port on the router, that is where the cable needs to go...

thats the problem i'm unable to use that port as its not an rj45 connection
the current setup is fibre to the Huawei HG8012H from the Huawei its cisco C897Va router

Hello,

 

I just remember that M.Net in Germany used to work only with Fritzboxes. That might still be the case and also the reason there is no configuration to be found for the Cisco 897VA and M.Net. Can you give them a call and verify if your router works at all with their network ?

Thanks I'll try to get in touch with them and let you know the outcome 

Hi Guys, this is now up and running, it turns out we needed a sub-inteface on G8 with vlan 40

Thanks for the help i have added stars :)

 

!
interface GigabitEthernet8.40
encapsulation dot1Q 40
no ip redirects
no ip proxy-arp
ip virtual-reassembly in
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface Vlan1
ip address X.X.X.X 255.255.255.0
!
interface Dialer0
mtu 1492
ip address negotiated
no ip redirects
no ip unreachables
no ip proxy-arp
ip flow ingress
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer idle-timeout 0
dialer-group 1
ppp mtu adaptive
ppp authentication pap chap ms-chap callin
ppp chap hostname X.X.X.X
ppp chap password X.X.X.X
ppp ipcp dns request
ppp ipcp route default
ppp ipcp address accept
no cdp enable
!

As per my knowledge they were using VLAN, that is the reason i propose subinterface with vlan 7 before may it was old one, now they use VLAN 40

 

good to know all working.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

it would appear so thanks again balaji :)

Glad all working as expected.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help