Displaying 17 results from an estimated 17 matches for "onparent".
2008 Nov 13
3
Virtual NICs (aliases like eth0:1) won't come up after reboot
With one problem down I still have another remaining. Since the
installation of our primairy webserver we have had a problem with the
network aliasses.
Our server has 8 IP adresses so we used the tool provided in the GUI to
specify (and name - for our own convinience) eth0 aliasses with the
other 7 adresses. After setting them up, applying them, activating them
and restarting
2011 Nov 13
3
binding additional IP addresses to centos6 on one interface
I know this was discussed before, and I have seen a million ways of
doing this via online docs. I have a quick question that hopefully the
community can help me out with
I am trying to add a block of 10 IP addresses. Rather then create 10
different alias files, I want to use the RANGE file.
Docs say to use the following format:
IPADDR_START=x.x.x.x
IPADDR_END=x.x.x.x
CLONENUM_START=0
If the
2012 Jun 18
1
Cannot set alias IP address
..._FAILURE_FATAL=no
DOMAIN="example.com example.com"
--------------------------------------------------------------
I've tried:
--------------------------------------------------------------
eth0:1
--------------------------------------------------------------
DEVICE="eth0:1"
ONPARENT="yes"
BOOTPROTO=none
IPADDR=xxx.xxx.xxx.131
NETMASK=255.255.255.248
BROADCAST=xxx.xxx.xxx.135
--------------------------------------------------------------
and:
--------------------------------------------------------------
eth0:1
--------------------------------------------------------...
2014 Mar 03
1
IP aliases Centos 6.x
What's the right way to assign an IP alias to an ethernet interface
that you want to bring up and down manually, not on boot?
I tried the old way of making an ifcfg-eth3:0 file and it does work
with the ifup, ifdown commands, but even though I specified onboot=no,
it activated at boot-up.
--
Les Mikesell
lesmikesell at gmail.com
2016 Sep 03
3
more than one IP address on network device?
...DR_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:
/etc/sysconfig/network-scripts/ifcfg-eth0:1
# Intel Corporation 82545EM Gigabit Ethernet Controller (Copper), Alias 1
TYPE=Ethernet
DEVICE=eth0:1
ONPARENT=yes
BOOTPROTO=none
BROADCAST=192.168.0.255
IPADDR=192.168.0.17
NETMASK=255.255.255.0
NETWORK=192.168.0.0
GATEWAY=192.168.0.1
DNS1=192.168.0.1
DNS2=192.168.0.100
why can't I add this to the virtual device eth0:1,
if I needed both an additional IPv4 and an additional IPv6 address?
IPV6INIT=yes
I...
2013 Jun 07
2
IPv4 192.168.71.1 'leaks out onto WAN.
...eway host eth0 is the WAN access and eth1 is the LAN. I wish
to activate the address 192.185.71.1 on eth1. The ifcfg-eth1:192071
file contains this:
NAME=""
BOOTPROTO=none
MACADDR=""
IPV6INIT=no
DEVICE=eth1:192071
NETMASK=255.255.255.0
MTU=""
BROADCAST=192.168.71.255
ONPARENT=no
IPADDR=192.168.71.1
NETWORK=192.168.71.0
ONBOOT=no
When I try ifup to activate the address then I see this:
# ifup eth1:192071
Error, some other host already uses address 192.168.71.1.
I investigated what that host could be using nmap -v -APn
192.168.71.1/32 and discovered that my gateway hos...
2015 Feb 18
3
Help with routing question.
...YPE="Ethernet"
UUID="0202e615-ce93-4fe1-833a-c11259afb850"
DEVICE="eth0:192"
BOOTPROTO="static"
BROADCAST="192.168.6.255"
GATEWAY="192.168.6.1"
IPADDR="192.168.6.x"
NETMASK="255.255.255.0"
NM_CONTROLLED="no"
ONPARENT="yes"
TYPE="Ethernet"
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario...
2017 Jul 06
3
Virtual IP
...tatic
virtual ip on CenOS7. but I want my VIP to should not open when rebooting.
My interface settings like this:
*for ens33 NIC -> ifcfg-ens33*
DEVICE=ens33
BOOTPROTO=none
ONBOOT=yes
PREFIX=24
IPADDR=192.168.2.151
*and for VIP NIC ens33:2* * -> ifcfg-ens33:2*
DEVICE=ens33:2
ONBOOT=no
ONPARENT=no
PREFIX=24
IPADDR=192.168.2.149
i made up ifcfg-ens33:2 from ifcfg-ens33 by copying it... i dont know
where i do wrong??
i am waiting for your help...
best regards....
2012 Sep 04
6
Simple routing question
...uch that the address
192.168.0.1 is one of its aliases.
# cat /etc/sysconfig/network-scripts/ifcfg-eth1:192BOOTPROTO=none
BROADCAST=192.168.255.255
DEVICE=eth1:192
IPADDR=192.168.0.1
IPV6INIT=no
MTU=""
NAME="LAN - Non-routable"
NETMASK=255.255.0.0
NETWORK=192.168.0.0
ONBOOT=yes
ONPARENT=yes
Internal packets routed to 192.168.209.41 are passing through this
router out onto the network. I am afraid that the reason is not
evident to me and I have been unable to locate an answer.
The primary address for eth1 has the following configuration:
# cat /etc/sysconfig/network-scripts/ifc...
2008 Dec 23
3
network interface
Hi all
How can I bring up eth0:2 only
"ifconfig eth0:2 up" is not working
I have to use service network restart
But it restarts all network interfaces that I don't
want
Thank you
Send instant messages to your online friends http://uk.messenger.yahoo.com
2012 Mar 11
1
Interface starts when it shouldn't
In CentOS 5.7 and earlier versions, an alias interface is defined via
ifcfg-<interface>:foo which contains "ONBOOT=no". The ONBOOT setting
appears to be ignored, and the interface always starts when the system
boots or if networking is restarted. This is a serious bug that seems to
date back many years (I found references in 2005). Anyone know why it
hasn't been fixed, or
2012 Oct 02
2
Weird behaviour of ifcfg scripts
Hi,
I accidentally found that the existence of a file e.g. named
ifcfg-eth1:1 put in /etc/sysconfig/network-scripts/ leads to the
appropriate interface being created even with the option 'ONBOOT' set to
'no':
DEVICE="eth1:1"
BOOTPROTO="static"
NM_CONTROLLED="no"
ONBOOT="no"
TYPE="Ethernet"
IPADDR=12.34.56.78
2015 Feb 18
0
Help with routing question.
...4fe1-833a-c11259afb850"
>
>
> DEVICE="eth0:192"
> BOOTPROTO="static"
> BROADCAST="192.168.6.255"
> GATEWAY="192.168.6.1"
> IPADDR="192.168.6.x"
> NETMASK="255.255.255.0"
> NM_CONTROLLED="no"
> ONPARENT="yes"
> TYPE="Ethernet"
>
>
> --
> *** E-Mail is NOT a SECURE channel ***
> James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
> Harte & Lyne Limited http://www.harte-lyne.ca
> 9 Brockley Drive vox...
2015 Apr 15
0
Routing setup questions
...168.216.42/24].
If this is anywhere near the actual requirements then I think
something like this is required on GWAY eth1[x.y.z.1/24]:
ifcfg-eth1:192168
BOOTPROTO=none
BROADCAST=192.168.255.255
DEVICE=eth1:192168
IPADDR=192.168.0.1
IPV6INIT=no
NETMASK=255.255.0.0
NETWORK=192.168.0.0
#ONBOOT=yes
ONPARENT=yes
route-eth1
192.168.216.0/24 via x.y.z.42 dev eth1
And on KVM1 I would need:
ifcfg-br0
BOOTPROTO="none"
DEFROUTE="yes"
DEVICE="br0"
GATEWAY="x.y.z.1"
IPADDR="x.y.z.42"
IPV4_FAILURE_FATAL="no"
IPV6INIT="no"
NAME="System...
2015 Feb 19
3
Help with routing question.
...the ip
route syntax gives the same error:
192.168.6.9/24 via 192.168.6.1 dev eth0
The ifcfg-eth0:192 file now contains:
BOOTPROTO="static"
DEVICE="eth0:192"
IPADDR="192.168.6.9"
NETMASK="255.255.255.0"
# Also see route-eth0:192
NM_CONTROLLED="no"
ONPARENT="yes"
TYPE="Ethernet"
Can anyone see what it is that I have done that is incorrect?
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley...
2019 Feb 08
2
netmask on aliases overriden by netmask on interface
...OT=yes
PREFIX=25
TYPE=Ethernet
USERCTL=no
And an aliased ifcfg containing this:
BOOTPROTO="none"
BROADCAST="192.168.8.255"
DEVICE="eth1:192008001"
IPADDR="192.168.8.1"
IPV6INIT="no"
NETMASK="255.255.255.0"
NETWORK="192.168.8.0"
ONPARENT="yes"
However, ifconfig shows this:
# ifconfig eth1:192008001
eth1:192008001 Link encap:Ethernet HWaddr 00:25:90:61:74:C1
inet addr:192.168.8.1 Bcast:192.168.8.255
Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:17 Memor...
2019 Feb 06
2
Pb with bounding
...one!
In this case I have a specific IP to it and a bond one on bound.
As I must have also a VLAN connection on the bound, I have create a ? ifcfg-bond0.10 ? file:
:/etc/sysconfig/network-scripts# cat ifcfg-bond0.10
NAME=bond0.10
DEVICE=bond0.10
#TYPE="Ethernet"
VLAN=yes
NM_CONTROLLED=no
ONPARENT=yes
DEFROUTE="no"
# IP
IPADDR=XXX.XXX.XXX.142
NETMASK=255.255.255.0
NETWORK=XXX.XXX.XXX.0
BROADCAST=XXX.XXX.XXX.255
PREFIX=24
GATEWAY=1XXX.XXX.XXX.126
With that and the first Ethernet interface on a specific address I have:
:/etc/sysconfig/network-scripts# ip a
1: lo: <LOOPBACK,UP,LOW...