Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/conf.d/net and setting Ipv6 address to eth1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Thu Aug 05, 2004 5:14 am    Post subject: /etc/conf.d/net and setting Ipv6 address to eth1 Reply with quote

if i just replace the old settings with an IPv6 address, and restart the device, it gives me this error:
Code:

root@a216server /etc/conf.d # /etc/init.d/net.eth1 start
 * Bringing eth1 up...
 *   eth1 fec0::1
fec0::1: Unknown host
ifconfig: `--help' gives usage information.                               [ !! ]

Also, is it possible to set both IPv4 and IPv6 addresses in the conf file?
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
aetius
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2004
Posts: 118

PostPosted: Fri Aug 06, 2004 5:42 am    Post subject: Reply with quote

You're getting that error message because you are specifying an IPv6 address and ifconfig is expecting an IPv4 address (the default).

It should be possible to do both. I think you'll need two iface_eth0 statements, one with the IPv4 settings and one with the IPv6 settings (see the ifconfig man page, look for 'address family").
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum