Quantcast
Viewing all articles
Browse latest Browse all 60861

Re: ERL-3, CenturyLink Gigabit, Static IPs

 

Think I got it working.

 


16again wrote:

 

 simply assign x.x.x.110/29 address to eth2


 

eth2 on ERL: x.x.x.110/29

 

Computer plugged into eth2:

IP: x.x.x.105

GW: x.x.x.110

 

 

It will get online, but 'what is my IP' shows x.x.x.110, not x.x.x.105.

 

 

I had to adjust the NAT settings on the ERL to fix this.

 

Before:

service {<snip> 
    nat {
        rule 5000 {
            description PPPoE
            log disable
            outbound-interface pppoe0
            protocol all
            type masquerade
        }
    }<snip>
}

After:

 

service {<snip>
    nat {
        rule 5001 {
            description PPPoE
            log disable
            outbound-interface pppoe0
            protocol all
            source {
                address 192.168.1.1/24
                group {
                }
            }
            type masquerade
        }
    }<snip>
}

Now I have what I want.  The computer plugged into eth2 has its own (x.x.x.105) public static IP.  Thanks everyone.


Viewing all articles
Browse latest Browse all 60861

Trending Articles