I have been assigned these 2 blocks by my provider
Block: x.x.x.184/29
Usable range: x.x.x.186 - x.x.x.190
Gateway: x.x.x.185
Subnet: 255.255.255.248
And
Block: x.x.x.192/29
Usable range: x.x.x.194 - x.x.x.198
Gateway: x.x.x.193
Subnet: 255.255.255.248
I am wanting to assign both those blocks to one machine.
I currently have this config working for the first block:
iface eth0 inet static
address x.x.x.186
netmask 255.255.255.248
network x.x.x.184
broadcast x.x.x.191
gateway x.x.x.185
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8 8.8.4.4
dns-search blahblah
auto eth0
iface eth0 inet static
address x.x.x.187
netmask 255.255.255.248
auto eth0
iface eth0 inet static
address x.x.x.188
netmask 255.255.255.248
auto eth0
iface eth0 inet static
address x.x.x.189
netmask 255.255.255.248
auto eth0
iface eth0 inet static
address x.x.x.190
netmask 255.255.255.248
How would I add the second second block to this interface?
x
s in the different blocks above are different. Block 1 gateway: 123.123.123.185 block 2 gateway: 321.321.321.193eth0
.