On 09/03/2016 10:34 AM, Walter H. wrote:
/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
On Mon, 2016-09-05 at 15:15 +0200, Yamaban wrote:
> "ip addr show" and
> "ip route show"
>
> should give the needed info, at least with Centos 7.x
Works on C5 and C6 too.
--
Regards,
Paul.
England, EU. England's place is in the European Union.
On 05.09.2016 15:28, Alexander Dalloz wrote:
Am 05.09.2016 um 14:27 schrieb Jonathan Billings:
On Sep 4, 2016, at 1:27 PM, Walter H.
wrote:
'ifconfig' doesn't show these additional addresses ...
This is one of the many reasons why people don’t use ‘ifconfig’
On 09/05/16 08:56, Alexander Dalloz wrote:
Am 05.09.2016 um 15:29 schrieb Kenneth Porter:
--On Monday, September 05, 2016 4:15 PM +0200 Yamaban
wrote:
How about using the "ip" tool?
Thanks. I looked at the man page and it looks like it's the Swiss army
knife of Linux
Am 05.09.2016 um 15:29 schrieb Kenneth Porter:
--On Monday, September 05, 2016 4:15 PM +0200 Yamaban
wrote:
How about using the "ip" tool?
Thanks. I looked at the man page and it looks like it's the Swiss army
knife of Linux networking. Lots of subcommands. I'll dig
--On Monday, September 05, 2016 4:15 PM +0200 Yamaban
wrote:
How about using the "ip" tool?
Thanks. I looked at the man page and it looks like it's the Swiss army
knife of Linux networking. Lots of subcommands. I'll dig through that.
Am 05.09.2016 um 14:27 schrieb Jonathan Billings:
On Sep 4, 2016, at 1:27 PM, Walter H. wrote:
'ifconfig' doesn't show these additional addresses ...
This is one of the many reasons why people don’t use ‘ifconfig’ anymore.
As additional information: ifconfig as
--On Monday, September 05, 2016 9:27 AM -0400 Jonathan Billings
wrote:
This is one of the many reasons why people don't use 'ifconfig'
anymore.
Is there a preferred tool? Perhaps a script that will dump out the full
network configuration for easy checking?
On Sep 4, 2016, at 1:27 PM, Walter H. wrote:
> 'ifconfig' doesn't show these additional addresses ...
This is one of the many reasons why people don’t use ‘ifconfig’ anymore.
--
Jonathan Billings
___
On 09/04/2016 07:27 PM, Walter H. wrote:
> On 04.09.2016 17:33, Ulf Volmer wrote:
>> 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 must go with,
> the same with IPADDR2,
Valeri,
not on list as it does not pertain to Linux.
On Sun, Sep 04, 2016 at 10:25:23AM -0500, Valeri Galtsev 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 <--
>
> Interesting... With
Hi,
It works, but, it didn't create "virtual address" aka "eth0:0", try
using "ip" command: "ip addr show dev eth0"
Att.,
Antonio.
2016-09-04 14:27 GMT-03:00 Walter H. :
> On 04.09.2016 17:33, Ulf Volmer wrote:
>
>>
>> OK, some testing has been
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
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
On Sun, September 4, 2016 9:40 am, Walter H. wrote:
> On 04.09.2016 15:18, Ulf Volmer wrote:
>> On 09/03/2016 07:34 PM, Walter H. wrote:
>>
>>> if I would need an additional IPv6 address I'd just add
>>> IPV6ADDR_SECONDARIES="ipv6addr"
>>> to this file; if I would need an additional IPv4 address
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
On 04.09.2016 15:18, Ulf Volmer wrote:
On 09/03/2016 07:34 PM, Walter H. wrote:
if I would need an additional IPv6 address I'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
On 09/03/2016 07:34 PM, Walter H. wrote:
> if I would need an additional IPv6 address I'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
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
19 matches
Mail list logo