Reply
Highlighted
New Member
Posts: 16
Registered: ‎09-26-2018
Accepted Solution

Changing from DHCP to static | Edgerouter ER-8

Hello,

 

We recently switched to an Edgerouter 8 in our small business, however when we set it up we configured it so that eth0 got its WAN dynamitcally using DHCP. However, we have since been given a static IP address. How do we switch this without messing up the local configuration (using active directory / server for our local DHCP not edgerouter).

 

Thank you!

 

IP: 172.xx.xxx.39

Gateway: 172.xx.xxx.33

Netmask: 255.255.255.240

Primary Server: 68.xxx.xx.xx

Secondary: 68.xxx.xx.xx

 

Thank you!


Accepted Solutions
SuperUser
Posts: 7,515
Registered: ‎01-05-2012
Kudos: 1981
Solutions: 985

Re: Changing from DHCP to static | Edgerouter ER-8

Something like

Spoiler
configure
delete interfaces ethernet eth0 address
set interfaces ethernet eth0 address 172.xx.xxx.39/28
commit
set protocols static route 0.0.0.0/0 next-hop 172.xx.xxx.33
set system name-server 68.xxx.xx.x1
set system name-server 68.xxx.xx.x2
commit

Test, if ok issue save.

Cheers,

jonatha

 

View solution in original post


All Replies
SuperUser
Posts: 7,515
Registered: ‎01-05-2012
Kudos: 1981
Solutions: 985

Re: Changing from DHCP to static | Edgerouter ER-8

Something like

Spoiler
configure
delete interfaces ethernet eth0 address
set interfaces ethernet eth0 address 172.xx.xxx.39/28
commit
set protocols static route 0.0.0.0/0 next-hop 172.xx.xxx.33
set system name-server 68.xxx.xx.x1
set system name-server 68.xxx.xx.x2
commit

Test, if ok issue save.

Cheers,

jonatha

 

New Member
Posts: 16
Registered: ‎09-26-2018

Re: Changing from DHCP to static | Edgerouter ER-8

[ Edited ]

Hello,

 

And this won't change anything on LAN (eth1 / 10.0.0.1/24) correct?

 

Thank you!

Reply