Re: 2nd IP address on an interface

2014-08-29 Thread Robert Moskowitz
On 08/29/2014 01:48 AM, James Hogarth wrote: On 29 Aug 2014 01:32, "Robert Moskowitz" > wrote: > > you are right. ifconfig USE to be able to do this, but now it is just a shell? over ip and so... > Your memory isn't quite accurate... ifconfig has never handle

Re: 2nd IP address on an interface

2014-08-29 Thread Robert Moskowitz
On 08/29/2014 01:12 AM, Andre Speelmans wrote: On Thu, Aug 28, 2014 at 10:35 PM, Lars E. Pettersson wrote: On 08/28/14 22:16, Robert Moskowitz wrote: # cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 [snipped] ONBOOT="yes" I think you need to add ONPARENT=yes to make it start when its parent

Re: 2nd IP address on an interface

2014-08-29 Thread Tom H
On Thu, Aug 28, 2014 at 8:32 PM, Robert Moskowitz wrote: > > # ip addr show > 1: lo: mtu 16436 qdisc noqueue state UNKNOWN group > default > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > inet 127.0.0.1/8 scope host lo > inet6 ::1/128 scope host >valid_lft forever pre

Re: 2nd IP address on an interface

2014-08-29 Thread Tom H
On Thu, Aug 28, 2014 at 6:11 PM, Robert Moskowitz wrote: > On 08/28/2014 04:24 PM, Tom Horsley wrote: >> >> These days, I'm pretty sure you are supposed to include >> IPADDR2=, NETMASK2=, etc. in the one ifcfg-eth0 file >> rather than creating a eth0:0 file (at least that worked >> for me on cento

Re: 2nd IP address on an interface

2014-08-28 Thread James Hogarth
On 29 Aug 2014 01:32, "Robert Moskowitz" wrote: > > you are right. ifconfig USE to be able to do this, but now it is just a shell? over ip and so... > Your memory isn't quite accurate... ifconfig has never handled multiple IP addresses on an interface with aliases being used to create separate

Re: 2nd IP address on an interface

2014-08-28 Thread Andre Speelmans
On Thu, Aug 28, 2014 at 10:35 PM, Lars E. Pettersson wrote: > > On 08/28/14 22:16, Robert Moskowitz wrote: >> >> # cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 >> [snipped] >> ONBOOT="yes" > I think you need to add > ONPARENT=yes > to make it start when its parent does. ONPARENT=yes is indeed

SOLVED - Re: 2nd IP address on an interface

2014-08-28 Thread Robert Moskowitz
It is all ifconfigs fault :) I just assumed that in f20 it was still good enough until F21. # cat /etc/udev/rules.d/70-persistent-net.rules # Added by 'write_udev' for detected device 'eth0'. SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:67:15:00:01:78", NAME="eth0"

Re: 2nd IP address on an interface

2014-08-28 Thread Robert Moskowitz
On 08/28/2014 07:20 PM, Ed Greshko wrote: On 08/29/14 06:11, Robert Moskowitz wrote: On 08/28/2014 04:24 PM, Tom Horsley wrote: On Thu, 28 Aug 2014 16:16:55 -0400 Robert Moskowitz wrote: So what is missing? Do I need a 70-persistent-net.rules for eth0:0 ?? These days, I'm pretty sure you a

Re: 2nd IP address on an interface

2014-08-28 Thread Tom Horsley
On Fri, 29 Aug 2014 07:20:18 +0800 Ed Greshko wrote: > You may be getting confused by using "ifconfig". Yea, I forgot that bit, my aliases didn't show up in ifconfig, but I could ping them from another computer on the same network. -- users mailing list users@lists.fedoraproject.org To unsub

Re: 2nd IP address on an interface

2014-08-28 Thread Ed Greshko
On 08/29/14 07:20, Ed Greshko wrote: > And from a second system > > [egreshko@meimei ~]$ ping 192.168.1.19 > PING 192.168.1.19 (192.168.1.19) 56(84) bytes of data. > 64 bytes from 192.168.1.19: icmp_seq=1 ttl=64 time=0.337 ms > 64 bytes from 192.168.1.19: icmp_seq=2 ttl=64 time=0.290 ms > 64 by

Re: 2nd IP address on an interface

2014-08-28 Thread Ed Greshko
On 08/29/14 06:11, Robert Moskowitz wrote: > > On 08/28/2014 04:24 PM, Tom Horsley wrote: >> On Thu, 28 Aug 2014 16:16:55 -0400 >> Robert Moskowitz wrote: >> >>> So what is missing? Do I need a 70-persistent-net.rules for eth0:0 ?? >> These days, I'm pretty sure you are supposed to include >> IPAD

Re: 2nd IP address on an interface

2014-08-28 Thread Robert Moskowitz
On 08/28/2014 06:23 PM, Lars E. Pettersson wrote: 29 aug 2014 kl. 00:12 skrev Robert Moskowitz Add this to ifcfg-eth0:0 and no change. :( Ok. Another difference I see is that my interface is named :1, i.e. in my case wan:1 Not sure if that makes any difference though, was years since I set t

Re: 2nd IP address on an interface

2014-08-28 Thread Lars E. Pettersson
> 29 aug 2014 kl. 00:12 skrev Robert Moskowitz > Add this to ifcfg-eth0:0 and no change. > > :( Ok. Another difference I see is that my interface is named :1, i.e. in my case wan:1 Not sure if that makes any difference though, was years since I set this up :) Lars -- users mailing list use

Re: 2nd IP address on an interface

2014-08-28 Thread Robert Moskowitz
On 08/28/2014 04:35 PM, Lars E. Pettersson wrote: On 08/28/14 22:16, Robert Moskowitz wrote: # cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 DEVICE="eth0:0" BOOTPROTO=none ONBOOT="yes" TYPE="Ethernet" NAME="System eth0" MTU=1500 GATEWAY="208.83.67.161" IPADDR="208.83.67.164" NETMASK="255.255.

Re: 2nd IP address on an interface

2014-08-28 Thread Robert Moskowitz
On 08/28/2014 04:24 PM, Tom Horsley wrote: On Thu, 28 Aug 2014 16:16:55 -0400 Robert Moskowitz wrote: So what is missing? Do I need a 70-persistent-net.rules for eth0:0 ?? These days, I'm pretty sure you are supposed to include IPADDR2=, NETMASK2=, etc. in the one ifcfg-eth0 file rather than

Re: 2nd IP address on an interface

2014-08-28 Thread Lars E. Pettersson
On 08/28/14 22:16, Robert Moskowitz wrote: # cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 DEVICE="eth0:0" BOOTPROTO=none ONBOOT="yes" TYPE="Ethernet" NAME="System eth0" MTU=1500 GATEWAY="208.83.67.161" IPADDR="208.83.67.164" NETMASK="255.255.255.240" I think you need to add ONPARENT=yes to m

Re: 2nd IP address on an interface

2014-08-28 Thread Tom Horsley
On Thu, 28 Aug 2014 16:16:55 -0400 Robert Moskowitz wrote: > So what is missing? Do I need a 70-persistent-net.rules for eth0:0 ?? These days, I'm pretty sure you are supposed to include IPADDR2=, NETMASK2=, etc. in the one ifcfg-eth0 file rather than creating a eth0:0 file (at least that worked