Hello,
Is it possible to make 1 IP range for 2 LAN's ?
I have tried different settings, and used the Search and google i cannot find a solution.
I have 3 NIC's
WAN > **.**.**.**
LAN1 1 GBit connection > 192.168.1.1 1 Gbit > Switch for homenetwork.
LAN2 10 Gbit connection > 192.168.2.1 1 NIC for a 10 Gbit connection. (only 1 serverPC)
Can i configurate my network like this, both LAN cards using the same IP range?
So my serverPC get a 192.168.1.* IP and not in the 192.168.2.* range.
LAN1
\
192.168.1.1
/
LAN2
If i set in IP Settings:
LAN1 192.168.1.1 Range: 192.168.1.100 ~ 192.168.1.200 SUB: 255.255.255.0
LAN2 192.168.1.1 Range: 192.168.1.50 ~ 192.168.1.99 SUB: 255.255.255.0
I get a IP in the DHCP Server tab, but my ServerPC gives a error: IP already used.
Thank you in advance!
Is it possible to make 1 IP range for 2 LAN's ?
I have tried different settings, and used the Search and google i cannot find a solution.
I have 3 NIC's
WAN > **.**.**.**
LAN1 1 GBit connection > 192.168.1.1 1 Gbit > Switch for homenetwork.
LAN2 10 Gbit connection > 192.168.2.1 1 NIC for a 10 Gbit connection. (only 1 serverPC)
Can i configurate my network like this, both LAN cards using the same IP range?
So my serverPC get a 192.168.1.* IP and not in the 192.168.2.* range.
LAN1
\
192.168.1.1
/
LAN2
If i set in IP Settings:
LAN1 192.168.1.1 Range: 192.168.1.100 ~ 192.168.1.200 SUB: 255.255.255.0
LAN2 192.168.1.1 Range: 192.168.1.50 ~ 192.168.1.99 SUB: 255.255.255.0
I get a IP in the DHCP Server tab, but my ServerPC gives a error: IP already used.
Thank you in advance!
In DHCP Server
Share this post:
Responses (5)
-
Accepted Answer
Nick Howitt wrote:
Out of interest, how does that leave your /etc/sysconfig/network-scripts/ifcfg- files?
That files are not adapted.
so i did a reboot this morning, now all the settings are back to the point bevore the bridge.
Wierd i setup your guide one more time, now is it working!!!
I can do a reboot, all the settings are saved no errors anymore!
ifcfg-br0
DEVICE=br0
TYPE="Bridge"
ONBOOT="yes"
USERCTL="no"
BOOTPROTO="static"
IPADDR="192.168.11.1"
NETMASK="255.255.255.0"
BRIDGE_STP="yes"
ifcfg-enp1s0
DEVICE=enp1s0
TYPE="Ethernet"
IPV6INIT="yes"
ONBOOT="yes"
USERCTL="no"
BRIDGE=br0
PROMISC="yes"
ifcfg-enp4s0
DEVICE=enp4s0
TYPE="Ethernet"
IPV6INIT="yes"
ONBOOT="yes"
USERCTL="no"
BRIDGE=br0
PROMISC="yes"
Maybe dit change
brctl addif br0 enp1s0
brctl addif br0 enp4s0
something in the system...
Anywhay, thanks for your help! -
Accepted Answer
-
Accepted Answer
I didn't get it to work with your guide
I used this guide the "Configuring ClearOS" part: http://macbruins.com/2011/12/01/setting-up-clearos-as-wi-fi-access-point/
To set up the Ethernet bridge
cd /etc/sysconfig/network-scripts
brctl addbr br0
ifconfig enp1s0 inet 0.0.0.0
ifconfig enp4s0 inet 0.0.0.0
brctl addif br0 enp1s0
brctl addif br0 enp4s0
ifconfig br0 up
Add in IP Settings on br0 the IP information
Then edit br0 in DHCP Server.
It works now, i did not find out any trouble yet...
I use ClearOS 7.1 Final 64x
Thank you that you point me in the right direction! -
Accepted Answer
Yes, it is possible. You need to bridge your interfaces. If it goes wrong when making the changes, be prepared to edit from the console using the nano editor as you may lose network connectivity. Once you restart your network, you'll need to either reboot your workstation or release and renew its IP lease to pick up a new IP address.
Can I also suggest you avoid the 192.168.0.0/24 and 192.168.1.0/24 subnets to avoid future issues?
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »