Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

ERL-3, CenturyLink Gigabit, Static IPs

$
0
0

I just bought 8 static IPs from CenturyLink.  I have a little table of 8 IP addresses now, the first is "Reserved Network" (1.2.3.1), the next five are "User Assignable" (1.2.3.2-6), then one is "Reserved Gateway" (1.2.3.7) and the last is "Reserved Broadcast" (1.2.3.8)

 

As an aside - after I hit "Go" on their webpage for configuring static IPs, my public IP changed to the "Reserved Gateway" IP address automatically, without switching to DHCP.

 

I made the following change to my config.  Couldn't figure out where to put a default gateway (or what to use for it), but a little Googling seemed to indicate that this isn't required since I'm using PPPoE (??).  So far so good.

 

ethernet eth0 {
address 192.168.1.1/24
description Local
duplex auto
speed auto
}
ethernet eth1 {
- address dhcp
+ address 1.2.3.7/29 description Internet duplex auto firewall { in { name WAN_IN } local { name WAN_LOCAL } } speed auto vif 201 { description "CenturyLink VLAN" firewall { in { } } pppoe 0 { default-route auto firewall { in { name WAN_IN } local { name WAN_LOCAL } } mtu 1492 name-server auto password xxxxxx user-id xxxxx } } }

eth0 serves DHCP to my LAN.

 

What I'd like to do is plug in a switch to eth2 port, and have up to five computers with statically assigned public IP addresses (from the "User-Assignable" list) on this switch.

 

I can't figure out how to make this work.

 

I have tried removing all IP address config from eth1 and eth2, creating a br0 with eth1 and eth2 in the bridge and assigning 1.2.3.7 to br0 (per the latter suggestion in the answer in this thread: https://community.ubnt.com/t5/EdgeMAX/EdgeMAX-Configure-static-IP-addresses/m-p/690289#M21253).  Everything seemed to work like this except for one wrinkle: a machine plugged into eth2 configured with IP address 1.2.3.2 and gateway 1.2.3.7 looks like it is 1.2.3.7 to all "what is my public IP address" tools.  I was expecting to see 1.2.3.2. 

 

Did that make sense?

 

Any insights?  Thanks in advance.


Viewing all articles
Browse latest Browse all 20028

Trending Articles