Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Given a computer with 2 network cards, one for WAN, the other one for LAN and some public IPs 123.1.2.0/24. Now the computer shall connect all LAN clients to the outside, without NAT or any further filtering (except for limiting internet access from some specified clients by MAC address, but that's not my problem). So, I disabled NAT and assigned 123.1.2.0/24 to the LAN interface. Now I am little bit confused: What will be the WAN address in this case?

Thanks for any hint and sorry for this probably noobie question, but at the moment I simply don't get it ;-)

share|improve this question

1 Answer 1

up vote 2 down vote accepted

If you've been assigned 123.1.2.0/24, this is four your LAN network. You still need another IP address, from another network, for the connecting segment (if you have a router, this is the connection between your router, and your providers' router). Your provider has to give you an address for the WAN interface, and set up his routing, so the route to your 123.1.2.0/24 will be via your WAN address.

If your provider is doing all the routing, you just need a switch, and he has to tell you the gateway address from the 123.1.2.0/24 network, which resides on his router.

share|improve this answer
    
Thank you very much, I assumed something like this but wasn't sure :-) –  stefan.at.wpf Jun 3 '12 at 11:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.