Need to change subnet mask of static LAN IP Address as well for DHCP

sebercaw

New Member
Joined
Sep 25, 2020
Messages
1
Reaction score
0
Credits
16
I do not know Linux. The box is Ubuntu Debian. (Not sure if that is how you say it).
I want to use the existing box I inherited to be a backup to my new firewall.
But I must use a /19 network and not a /16 network. Everything else will remain the same.
I got the config from the old Network admin and here are the commands that are pertinent.
The only thing that needs to change is the 255.255.0.0 to 255.255.224.0.
Is it like Cisco where I put a no in front of the command?

auto brlan1
iface brlan1 inet static
bridge_ports p1p1 p1p2
bridge_stp on
address 10.4.0.1
netmask 255.255.0.0

subnet 10.4.0.0 netmask 255.255.0.0 {
interface brlan1;
range 10.4.4.1 10.4.4.254;
option routers 10.4.0.1;
option broadcast-address 10.4.255.255;
option domain-name-servers 10.4.0.1;
}
 

Members online


Top