search for: netmask2

Displaying 9 results from an estimated 9 matches for "netmask2".

Did you mean: netmask
2016 Sep 04
4
more than one IP address on network device?
...ONDARIES="ipv6addr" >> to this file; if I would need an additional IPv4 address this works only >> by a virtual device >> e.g. eth0:1 like this: > That's not true, you can add ipv4 address to the interface in the same way: > > | IPADDR2=172.17.170.101 > | NETMASK2=255.255.255.0 > > There is no need to create a virtual network device. ah ok, and the other values? IPADDR2=192.168.1.10 BROADCAST2=192.168.1.255 <-- NETMASK2=255.255.255.0 NETWORK2=192.168.1.0 <-- GATEWAY2=192.168.1.1 <-- in case they don't match the first IP address? Thanks,...
2016 Sep 04
4
more than one IP address on network device?
On 09/04/2016 05:00 PM, Ulf Volmer wrote: >> IPADDR2=192.168.1.10 >> BROADCAST2=192.168.1.255 <-- >> NETMASK2=255.255.255.0 >> NETWORK2=192.168.1.0 <-- >> GATEWAY2=192.168.1.1 <-- >> >> in case they don't match the first IP address? > > I'm not sure at this point. If you have to add a second ip in another > different network maybe you need a virtual device....
2016 Sep 03
3
more than one IP address on network device?
Hello /etc/sysconfig/network-scripts/ifcfg-eth0 looks like this: # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) TYPE=Ethernet NAME=eth0 NM_CONTROLLED=no IPV4_FAILURE_FATAL=yes UUID=cc2635ff-3c14-48ba-b19a-84c5b9d36a9d ONBOOT=yes DEVICE=eth0 BOOTPROTO=none HWADDR=00:50:56:01:00:01 BROADCAST=192.168.0.255 IPADDR=192.168.0.10 NETMASK=255.255.255.0 NETWORK=192.168.0.0
2016 Sep 04
0
more than one IP address on network device?
On 09/04/2016 04:40 PM, Walter H. wrote: > On 04.09.2016 15:18, Ulf Volmer wrote: >> That's not true, you can add ipv4 address to the interface in the same >> way: >> >> | IPADDR2=172.17.170.101 >> | NETMASK2=255.255.255.0 >> >> There is no need to create a virtual network device. > ah ok, and the other values? no other values needed. i assume that the second ip is in the same subnet as the first one. > IPADDR2=192.168.1.10 > BROADCAST2=192.168.1.255 <-- > NETMASK2=255.255.2...
2016 Sep 04
0
more than one IP address on network device?
On 04.09.2016 17:33, Ulf Volmer wrote: > > OK, some testing has been done. you have to specify > > IPADDR=192.168.0.10 > NETMASK=255.255.255.0 > NETWORK=192.168.0.0 > GATEWAY=192.168.0.1 > IPADDR2=192.168.2.10 > NETMASK2=255.255.255.0 > NETWORK2=192.168.2.0 I tried this way; but 'ifconfig' doesn't show these additional addresses ... > please note, that you have to specify only one GATEWAY, there can be > only one default gateway active. sure? thought that IPADDR, GATEWAY, NETMASK and NETWORK m...
2016 Sep 04
0
more than one IP address on network device?
...file; if I would need an additional IPv4 address this works >>> only >>> by a virtual device >>> e.g. eth0:1 like this: >> That's not true, you can add ipv4 address to the interface in the same >> way: >> >> | IPADDR2=172.17.170.101 >> | NETMASK2=255.255.255.0 >> >> There is no need to create a virtual network device. > ah ok, and the other values? > > IPADDR2=192.168.1.10 > BROADCAST2=192.168.1.255 <-- > NETMASK2=255.255.255.0 > NETWORK2=192.168.1.0 <-- > GATEWAY2=192.168.1.1 <-- Interesting... Wi...
2019 Feb 08
2
netmask on aliases overriden by netmask on interface
CentOS-6.10 We have a host with the following ifcfg file contents: BOOTPROTO=none BROADCAST="" DEFROUTE=yes DEVICE=eth1 . . . GATEWAY=X.Y.Z.234 IPADDR=A.B.C.2 IPV4_FAILURE_FATAL=yes NAME="LAN Link - eth1" NETMASK="255.255.255.128" NETWORK="A.B.C.0" NM_CONTROLLED=no ONBOOT=yes PREFIX=25 TYPE=Ethernet USERCTL=no And an aliased ifcfg containing this:
2016 Sep 04
0
more than one IP address on network device?
...9;d just add > IPV6ADDR_SECONDARIES="ipv6addr" > to this file; if I would need an additional IPv4 address this works only > by a virtual device > e.g. eth0:1 like this: That's not true, you can add ipv4 address to the interface in the same way: | IPADDR2=172.17.170.101 | NETMASK2=255.255.255.0 There is no need to create a virtual network device. best regards Ulf
2019 Feb 08
0
netmask on aliases overriden by netmask on interface
...ace cannot belong to more than one network, or at least not to > networks having differing cidr masks? Interface aliases are evil from my point of view. I recommend to configure the ip directly to the interface. #ifcfg-eth2 [...] IPADDR=192.168.200.1 NETMASK=255.255.255.0 IPADDR2=192.168.201.1 NETMASK2=255.255.255.192 ip addr show dev eth2 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 08:00:27:b0:c5:7c brd ff:ff:ff:ff:ff:ff inet 192.168.200.1/24 brd 192.168.200.255 scope global eth2 inet 192.168.201.1/26 brd 192.168.201.63 sc...