- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Sticky This Topic
- Bookmark
- Subscribe
- Printer Friendly Page
Edgerouter X make eth3 WAN instead of eth0 Edit config.boot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-29-2017 10:36 AM
I want to make eth3 the WAN port on my new EdgeRouter X instead of the default eth0.
Can I do this by just modifying the config.boot file like this, or will it brick my box? I want to do this so I can power with POE from my ToughSwitch using eth0 .
interfaces { ethernet eth0 { description Local duplex auto speed auto } ethernet eth1 { description Local duplex auto speed auto } ethernet eth2 { description Local duplex auto speed auto } ethernet eth3 { address dhcp description Internet duplex auto firewall { in { name WAN_IN } local { name WAN_LOCAL } } speed auto } ethernet eth4 { description Local duplex auto speed auto } loopback lo { } switch switch0 { address 192.168.1.1/24 description Local mtu 1500 switch-port { interface eth0 interface eth1 interface eth2 interface eth4 } } } nat { rule 5010 { description "masquerade for WAN" outbound-interface eth3 type masquerade } }
I
Re: Edgerouter X make eth3 WAN instead of eth0 Edit config.boot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-29-2017 11:24 AM
Yes you can, config looks fine.
otoh , recommended way is to make the changes in CLI or GUI, so you got error correction
Re: Edgerouter X make eth3 WAN instead of eth0 Edit config.boot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-29-2017 11:26 AM
Thanks. The GUI doesn't seem to want to let me do this. Or I don't know the magic words :-)
Re: Edgerouter X make eth3 WAN instead of eth0 Edit config.boot
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-29-2017 07:04 PM - edited 11-29-2017 07:09 PM
It did work. I now have eth0 connected to my Toughswitch POE and it is running the Edgerouter with 24v POE and the WAN is connected on eth3. Everything seems to be okay except in the GUI it says that POE is not supported on eth0.
Re: Edgerouter X make eth3 WAN instead of eth0 Edit config.boot
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-29-2017 07:53 PM
The ER-X can *accept* power (24V passive PoE) on eth0, and it can, with the right power supply, provide PoE output (passthrough) on eth4. The message you are seeing referring to PoE output, which is only supported on eth4. You can disregard the warning since eth0 is accepting PoE as expected.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Sticky This Topic
- Bookmark
- Subscribe
- Printer Friendly Page