Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed m0n0wall in a virtualized environment, I have 10 PCs connected to a router ( which connect them to the internet through PPPoE, the problem is that this router does not have a QoS so what I want to do is the following:

  1. Let all the PCs get their IP from the Router and the default gateway will be m0n0wall.

  2. The moon wall will have 2 interface (LAN and (Wan and default gateway

  3. Now when any PC want to access the internet it should go through m0n0wall and then m0n0wall will forward the connection to the default gateway through the wan interface which is the PPPoE running on the router (

The big question is this scenario possible or not and what do you suggest?

share|improve this question

I recommend the following:

  1. Enable DHCP in m0n0wall LAN interface.
  2. LAN Subnet:
  3. M0n0wall IP in LAN Interface:
  4. Default Gateway for Desktop on LAN:
  5. Connect m0n0wall WAN to LAN port router with Static IP:
  6. Connect all PCs, the m0n0wall LAN Switch.
share|improve this answer
I'm not sure i understood what you wrote but both interfaces ( lan and wan) will on the same subnetwork and as for the dhcp thats not an issue for me what i want is that the PCs connect to the m0n0wall which in turn connect to the internet through its internal WAN interface to the gateway on the router ( ip address to put it in another way i want to chain both gateways the m0n0wall and the router. – Black2night Oct 13 '12 at 17:49
M0n0wall Both interfaces can not be on the same subnet. It is convenient: . - Internet -> Modem . - Modem -> Router Wan . - LAN Router -> m0n0wall Wan . - M0n0wall LAN -> Switch for PCs. – KakashiSan Oct 13 '12 at 23:14
can please illustrate why can't the two interfaces be on the same sub network. – Black2night Oct 14 '12 at 10:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .