03-01-2021 12:27 AM
Hi,
I am really struggling here and i can't seem to figure out why this doesnt work.
The way this is set up is like this: ISP - Modem - Cisco router - Edgerouter.
This for some reason doesnt work, but if i add a "normal" Asus router between the cisco router and the edgerouter, i get internet right away with the basic setup wizard. So my question is: What am i doing wrong? Why do i get internet if i add the asus router? Is the edgerouter not able to pick up the info it needs from the cisco router?
Really apprecitating answers.
03-01-2021 12:56 AM
Hello,
what brand/type/model is the edge router ? Post the configuration (sh run) of the Cisco router, and indicate which interface on the Cisco router connects to the edge router...
03-01-2021 12:59 AM
Hi, thanks for replying.
The edgerouter is a Ubiquiti Edgerouter X.
I forgot to mention it but from the cisco router it goes to a cisco switch (plugnplay) and then to the edgerouter. Other devices gets internet when we connect them to the switch. But i can still get the config if you want it?
03-01-2021 01:08 AM
Hello,
yes, post the Cisco router config. I think by default, the Ubiquiti dishes out IP addresses in the 192.168.1.0/24 range, can you verify what IP addresses the clients connected to the EdgeRouter get ?
03-01-2021 01:18 AM
Clients connected to the cisco router/switch is in the 192.168.100.x range.
The ubiquiti router sends out DHCP from 192.168.5.x. The ubiquiti itself has gotten 192.168.100.36/24 from the cisco router as wan and 192.168.5.1 as lan.
Added the config as a file - it wouldnt let me post it here
03-01-2021 01:24 AM
Hello,
which interface on the Cisco is connected to the EdgeRouter ?
03-01-2021 01:28 AM
Ineterface 4 on cisco router -> switch -> Edgerouter.
03-01-2021 01:38 AM
Hello,
can you ping the EdgeRouter and if so, on which IP address ?
Either way, assuming that your EdgeRouter clients get an IP address from the 192.168.0.0/16 range, change the access list used for NAT as indicated below.
Also, you need to change the default router address assigned in the DHCP pool:
Current configuration : 1374 bytes
!
version 15.8
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
no aaa new-model
memory-size iomem 25
!
--> ip dhcp excluded-address 192.168.100.1
ip dhcp excluded-address 192.168.100.241 192.168.100.254
!
ip dhcp pool ABC
network 192.168.100.0 255.255.255.0
--> default-router 192.168.100.1
dns-server 92.220.228.70 109.247.114.4
!
ip cef
no ipv6 cef
multilink bundle-name authenticated
!
license udi pid C921-4P sn PSZ24461FX3
!
redundancy
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
!
interface GigabitEthernet2
no ip address
!
interface GigabitEthernet3
no ip address
!
interface GigabitEthernet4
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface GigabitEthernet5
ip address 79.160.36.118 255.255.255.252
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
no ip address
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
ip nat inside source list 1 interface GigabitEthernet5 overload
ip route 0.0.0.0 0.0.0.0 79.160.36.117
!
--> access-list 1 permit 192.168.0.0 0.0.255.255
!
control-plane
!
line con 0
line vty 0 4
login
transport input none
!
scheduler allocate 20000 1000
!
end
03-01-2021 01:43 AM - edited 03-01-2021 01:45 AM
I will change the config, thank you.
I can ping the ubiquiti edgerouter on 192.168.5.1 when directly connected to it. And i do get an ip-address from the DHCP server on the edgerouter.
My EdgeRouter gets the 192.168.100.36/24 address, and on the inside it has the 192.168.5.1 address
03-01-2021 01:58 AM
Hello,
the access list change should be sufficient.
You might also need a static route on the Cisco, pointing to the 192.168.5.0/24 network:
--> ip route 192.168.5.0 255.255.255.0 GigabitEthernet5
Also, make sure the EdgeRouter has a default route pointing to the Cisco.
03-01-2021 02:03 AM
Thank you very much, will try changing it as soon as possible.
But do you have any idea why i get internet access when i use the asus router between the to?: Cisco router -> Switch -> Asus router -> EdgeRouter.
I cant figure out why that works, but not without the asus router.
03-01-2021 02:05 AM
Hello,
odd indeed. Do you have the config of the ASUS router ?
03-01-2021 02:25 AM
It doesnt seem like i can get a config file, but i got this. I can see on the website that there is no portforwarding.
Under NAT PPTP, L2TP, IPSEC, RTSP, H323 and SIP is activated. PPPoE i deactivated.
There is nothing filled out under "special demands from ISP"
WAN: Automatic IP. WAN, NAT and UPnP is active. DNS is connected automaticly.
03-01-2021 03:15 AM
Hello,
that sounds like the ASUS is translating everything that is connected, by default.
Either way, curious to know what changing the access list (and possibly adding the static route) result in...
03-03-2021 12:18 AM
Sorry for late reply - really appreciating you taking the time to help.
I got it to work! I followed another of crosstalks video, where an author of a Ubiquiti book made a walk-through. He did it in another way, which didn't help me, but made me try something else
Now the Ubiquiti is set up with static IP,DNS and Gateway, and that worked! It seems like it couldnt get the information it needed automaticly. Would changing the access-list help with that? That cisco router is my first config router.
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