Quantcast
Viewing all articles
Browse latest Browse all 20028

DHCP Relay Not working

Can anyone point out if I'm doing something wrong here?

 

I have an edgerouter 5 port connected to an edgerouter pro on port eth1 and connecting clients to the switch0 interface.

 

Edgeroute Port 5:

 interfaces {
     ethernet eth0 {
         duplex auto
         poe {
             output off
         }
         speed auto
     }
     ethernet eth1 {
         address 192.168.123.2/24
         duplex auto
         poe {
             output off
         }
         speed auto
     }
     ethernet eth2 {
         duplex auto
         poe {
             output off
         }
         speed auto
     }
     ethernet eth3 {
         duplex auto
         poe {
             output off
         }
         speed auto
     }
     ethernet eth4 {
         duplex auto
         poe {
             output off
         }
         speed auto
     }
     loopback lo {
     }
     switch switch0 {
         address 10.92.101.1/24
         mtu 1500
         switch-port {
             interface eth2 {
             }
             interface eth3 {
             }
             interface eth4 {
             }
             vlan-aware disable
         }
     }
 }
 protocols {
     static {
         route 10.92.100.0/24 {
             next-hop 192.168.123.1 {
             }
         }
     }
 }
 service {
     dhcp-relay {
         interface switch0
         interface eth1
         server 192.168.123.1
     }
     gui {
         http-port 80
         https-port 443
         older-ciphers enable
     }
     ssh {
         port 22
         protocol-version v2
     }
 }
 system {
     host-name NET-INV
     login {
         user ubnt {
             authentication {
                 encrypted-password $6$wZ1.KDe5qXKu1Z3Z$ozYZXlDwlGVXaKE1yTvkKHAFiZ5z4y4LirIsjUfVlJLgDbqTOakZO4fpxZfY/JWq553/yFV8VmU6xKpKBn.Au/
             }
             level admin
         }
     }
     ntp {
         server 0.ubnt.pool.ntp.org {
         }
         server 1.ubnt.pool.ntp.org {
         }
         server 2.ubnt.pool.ntp.org {
         }
         server 3.ubnt.pool.ntp.org {
         }
     }
     offload {
         hwnat disable
         ipv4 {
             forwarding enable
             pppoe enable
         }
     }
     syslog {
         global {
             facility all {
                 level notice
             }
             facility protocols {
                 level debug
             }
         }
     }
     time-zone UTC
 }

Edgerouter Pro:

 interfaces {
     bridge br0 {
         address 10.92.100.1/24
     }
     ethernet eth0 {
         duplex auto
         speed auto
     }
     ethernet eth1 {
         address 192.168.123.1/24
         duplex auto
         speed auto
     }
     ethernet eth2 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     ethernet eth3 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     ethernet eth4 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     ethernet eth5 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     ethernet eth6 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     ethernet eth7 {
         bridge-group {
             bridge br0
         }
         duplex auto
         speed auto
     }
     loopback lo {
     }
 }
 protocols {
     static {
         route 10.92.101.0/24 {
             next-hop 192.168.123.2 {
             }
         }
     }
 }
 service {
     dhcp-server {
         shared-network-name INV {
             subnet 10.92.101.0/24 {
                 default-router 10.92.101.1
                 dns-server 10.92.101.1
                 start 10.92.101.100 {
                     stop 10.92.101.199
                 }
             }
         }
         shared-network-name TCT {
             subnet 10.92.100.0/24 {
                 default-router 10.92.100.1
                 dns-server 10.92.100.1
                 start 10.92.100.100 {
                     stop 10.92.100.199
                 }
             }
         }
     }
     gui {
         http-port 80
         https-port 443
         older-ciphers enable
     }
     ssh {
         port 22
         protocol-version v2
     }
 }
 system {
     host-name TCT-CORE
     login {
         user ubnt {
             authentication {
                 encrypted-password $6$xXKd9oginZQT3hy$uz5gzY2sIDGfd7hkfAGlvCdyDDRn4KSpRvLfuACbu0TZD50cGyFdaAPF91hBWAVGEphhGJKwW8rqRQlFAxovs.
             }
             level admin
         }
     }
     ntp {
         server 0.ubnt.pool.ntp.org {
         }
         server 1.ubnt.pool.ntp.org {
         }
         server 2.ubnt.pool.ntp.org {
         }
         server 3.ubnt.pool.ntp.org {
         }
     }
     offload {
         hwnat disable
         ipv4 {
             forwarding enable
             pppoe enable
         }
     }
     syslog {
         global {
             facility all {
                 level notice
             }
             facility protocols {
                 level debug
             }
         }
     }
     time-zone UTC
 }

Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>