[opensuse] How do I prevent an interface getting an IPv6-address on boot-up?
For PPPOE I need an ethernet interface that comes up on boot, but has no IP-address - configuring this manually is no problem, but what would I put in /etc/sysconfig/network/ifcfg-ethX to get it started on boot-up? For now, I've got the following: STARTMODE='auto' BOOTPROTO='' IPADDR= This makes the interface come up without an IPv4 address, but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it? /Per -- Per Jessen, Zürich (8.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 27 Oct 2009 19:02:14 Per Jessen wrote:
For PPPOE I need an ethernet interface that comes up on boot, but has no IP-address - configuring this manually is no problem, but what would I put in /etc/sysconfig/network/ifcfg-ethX to get it started on boot-up?
For now, I've got the following:
STARTMODE='auto' BOOTPROTO='' IPADDR=
This makes the interface come up without an IPv4 address, but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
/Per
Yast Control Centre -> Network Devices -> Network Settings -> Global Options, uncheck "Enable IPv6", reboot. Of course this assumes that you don't want to use IPv6 at all. On a per-interface basis, go to Overview, Select the desired interface and click the "Edit" button. Go to Address tab and (I'm assuming that you're using DHCP) select Dynamic Address, DHCP, DCHP version 4 only. HTH. -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rodney Baker wrote:
On Tue, 27 Oct 2009 19:02:14 Per Jessen wrote:
For PPPOE I need an ethernet interface that comes up on boot, but has no IP-address - configuring this manually is no problem, but what would I put in /etc/sysconfig/network/ifcfg-ethX to get it started on boot-up?
For now, I've got the following:
STARTMODE='auto' BOOTPROTO='' IPADDR=
This makes the interface come up without an IPv4 address, but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
/Per
Yast Control Centre -> Network Devices -> Network Settings -> Global Options, uncheck "Enable IPv6", reboot.
Of course this assumes that you don't want to use IPv6 at all.
Well, I _do_ want to use IPv6. :-( /Per -- Per Jessen, Zürich (9.1°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
Yast Control Centre -> Network Devices -> Network Settings -> Global Options, uncheck "Enable IPv6", reboot.
Of course this assumes that you don't want to use IPv6 at all.
Well, I _do_ want to use IPv6. :-(
Part of the magic of IPv6 is it seems to try to do away with all the magical broadcast-using-0.0.0.0 stuff (think DHCP). You get a ULA one wot starts fe80, and use that locally. Then, you can get a global address too. IPv6 was built with multiple addresses per interface in mind. So, I'd say part of using IPv6 is having that funky address hanging around. Phil -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Philip Dowie wrote:
but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
Yast Control Centre -> Network Devices -> Network Settings -> Global Options, uncheck "Enable IPv6", reboot.
Of course this assumes that you don't want to use IPv6 at all.
Well, I _do_ want to use IPv6. :-(
Part of the magic of IPv6 is it seems to try to do away with all the magical broadcast-using-0.0.0.0 stuff (think DHCP). You get a ULA one wot starts fe80, and use that locally. Then, you can get a global address too. IPv6 was built with multiple addresses per interface in mind. So, I'd say part of using IPv6 is having that funky address hanging around.
It's easily removed though. It might not upset my using the device for PPP, but not having it just seems "cleaner". /Per -- Per Jessen, Zürich (10.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Part of the magic of IPv6 is it seems to try to do away with all the magical broadcast-using-0.0.0.0 stuff (think DHCP). You get a ULA one wot starts fe80, and use that locally. Then, you can get a global address too. IPv6 was built with multiple addresses per interface in mind. So, I'd say part of using IPv6 is having that funky address hanging around.
It's easily removed though. It might not upset my using the device for PPP, but not having it just seems "cleaner".
Hmm.. With PPP, the two peers agree on their interface IDs (I guess kinda like a MAC address), and then derive their ULAs based on that.. Then, if stuff like DHCP-PD is in use over the link, the ULA is used for that.. Probably safer to leave it there and to filter it if it is a security concern.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 2009-10-27 at 09:32 +0100, Per Jessen wrote:
For PPPOE I need an ethernet interface that comes up on boot, but has no IP-address - configuring this manually is no problem, but what would I put in /etc/sysconfig/network/ifcfg-ethX to get it started on boot-up? For now, I've got the following: STARTMODE='auto' BOOTPROTO='' IPADDR= This makes the interface come up without an IPv4 address, but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
You possibly can set - IPV6INIT=no IPV6_AUTOCONF=no - in the interface config file, such as /etc/sysconfig/network-scripts/ifcfg-eth0 - at least that seems to work on CentOS -- OpenGroupware developer: awilliam@whitemice.org http://whitemiceconsulting.blogspot.com/ OpenGroupare & Cyrus IMAPd documenation @ http://docs.opengroupware.org/Members/whitemice/wmogag/file_view -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Adam Tauno Williams wrote:
On Tue, 2009-10-27 at 09:32 +0100, Per Jessen wrote:
For PPPOE I need an ethernet interface that comes up on boot, but has no IP-address - configuring this manually is no problem, but what would I put in /etc/sysconfig/network/ifcfg-ethX to get it started on boot-up? For now, I've got the following: STARTMODE='auto' BOOTPROTO='' IPADDR= This makes the interface come up without an IPv4 address, but I still get an IPv6 address assigned. I don't know if this causes a problem for pppoe, but there must be a way of getting rid of it?
You possibly can set - IPV6INIT=no IPV6_AUTOCONF=no - in the interface config file, such as /etc/sysconfig/network-scripts/ifcfg-eth0 - at least that seems to work on CentOS
I did come across those whilst googling, but they're not mentioned in ifcfg.template, and having just tried them, I can say they didn't work either :-( /Per -- Per Jessen, Zürich (9.9°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Per Jessen (per@opensuse.org) [20091027 11:51]:
I did come across those whilst googling, but they're not mentioned in ifcfg.template, and having just tried them, I can say they didn't work either :-(
Seems like an entry in openFATE is called for :) Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Adam Tauno Williams
-
Per Jessen
-
Philip Dowie
-
Philipp Thomas
-
Rodney Baker