News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Firewall/NAT
Topic: Monowall and multiple DHCP WAN IP's on one NIC - is it possible ??
Pages: [
1
]
Topic: Monowall and multiple DHCP WAN IP's on one NIC - is it possible ?? (Read 5410 times)
Monowall and multiple DHCP WAN IP's on one NIC - is it possible ??
« on: January 19, 2008, 02:14:16 »
mservaes
Posts: 6
Hi,
My ISP hands out 4 WAN-IP addresses (if I hook up 4 physical devices onto my cable-modem).
I already tried to put my VOIP Router, another router and the monowall onto a switch to the cable modem, which just works fine (I get 3 public addresses...) - but my question lies in another range.
Would it be possible to make one WAN port on monowall, receive 4 (or multiple) IP addresses by DHCP... I would suspect the router has to impersonate 4 different MAC addresses on this one NIC, but I don't know if it could be possible, and if so, how should one make this work?
This would make it pretty easy to add some devices in a 1:1 NAT (eg. Playstation3)
Now my PS3 tells me that the device is in NAT Type 3, which would limit some of the capabilities (didn't test it though)
Kind regards,
Re: Monowall and multiple DHCP WAN IP's on one NIC - is it possible ??
« Reply #1 on: January 20, 2008, 10:19:01 »
cmb
Posts: 851
You can only get one IP from m0n0wall's DHCP client (and every other firewall and DHCP client I've ever seen).
You can use a bridged setup to pull the public IPs directly to the clients.
http://doc.m0n0.ch/handbook/examples-filtered-bridge.html
Re: Monowall and multiple DHCP WAN IP's on one NIC - is it possible ??
« Reply #2 on: August 05, 2009, 18:53:58 »
cbetti
Posts: 1
Reviving an older thread, but... I've got the same setup from my ISP (RCN Cable Internet) as mservaes does.
I can get the bridged solution working just fine. However, I am trying to set up a home network with IPs dedicated to multiple PCs which I would like to live on the same network. The suggestion made by cmb puts the 'other' computers on Internet IPs instead of my 192.168.0.X network.
I can get around this using virtual interfaces or multiple NIC's on each PC with a dedicated IP, but I would much rather have m0n0wall bridge the extra IPs to the PCs at 192.168.0.2 and 192.168.0.3 directly. Can bridges (or interfaces) be configured to do this?
[EDIT] 3 IPs distributed as follows:
Existing Setup:
Modem -> m0n0wall interface A
m0n0wall interface B -> WAN IP 1 on NAT for switch & wireless access point (192.168.0.X DHCP)
m0n0wall interface C -> switch
switch -> WAN IP 2 for PC 2 (using WAN IP)
switch -> WAN IP 3 for PC 3 (using WAN IP)
Desired Setup:
Modem -> m0n0wall interface A
m0n0wall interface B -> WAN IP 1 on NAT for switch & wireless access point (192.168.0.X DHCP)
m0n0wall interface C -> switch
switch -> WAN IP 2 on 1:1 NAT for PC 2 (192.168.0.2)
switch -> WAN IP 3 on 1:1 NAT for PC 3 (192.168.0.3)
«
Last Edit: August 05, 2009, 21:11:45 by cbetti
»
Pages: [
1
]