hi everyone
these are my router configs
at bootup i get a timeout on the dhcpcd some of my global ipv6 addresses are missing and i have a mtu warning at boot in one or two of the interfaces files
could someone have a quick look over the configs and see whats wrong please
also should i add the pppoe0 interface to rad.conf also ?
shadrock

cat /etc/hostname.bge0
inet 88.97.5.79 255.255.255.255 NONE mtu 1508 inet6 autoconf
up

ifconfig bge0 bge0: flags=248843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6> mtu 1500
        lladdr 00:18:8b:6a:ab:48
        index 1 priority 0 llprio 3
        media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
        status: active
        inet6 fe80::218:8bff:fe6a:ab48%bge0 prefixlen 64 scopeid 0x1
        inet 88.97.5.79 netmask 0xffffffff

cat /etc/hostname.pppoe0 !/bin/sleep 10
inet 0.0.0.0 255.255.255.255 NONE mtu 1500 \
pppoedev bge0 authproto chap \
authname 'myuser' authkey 'mypass' dest 0.0.0.1
inet6 eui64
!/sbin/route add default -ifp pppoe0 0.0.0.1
# !/sbin/route add inet6 default -ifp pppoe0 fe80::%pppoe0

ifconfig pppoe0
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        index 6 priority 0 llprio 3
        dev: bge0 state: session
        sid: 0x1e PADI retries: 48 PADR retries: 0 time: 03:16:43
sppp: phase network authproto chap dns: 212.23.3.100 212.23.6.100
        groups: pppoe egress
        status: active
        inet6 fe80::200:0:0:1%pppoe0 -->  prefixlen 64 scopeid 0x6
        inet 88.97.5.79 --> 51.148.72.22 netmask 0xffffffff
        inet6 2a02:8011:d000:57d:930c:8392:d5e2:6c10 -->  prefixlen 64 autoconf 
pltime 172749 vltime 259149

cat /etc/dhcpcd.conf
# Allow users of this group to interact with dhcpcd via the control socket.
#controlgroup wheel

# Inform the DHCP server of our hostname for DDNS.
#hostname

ipv6only
noipv6rs

# Use the hardware address of the interface for the Client ID.
#clientid
# or
# Use the same DUID + IAID as set in DHCPv6 for DHCPv4 ClientID as per RFC4361.
# Some non-RFC compliant DHCP servers do not reply with this set.
# In this case, comment out duid and enable clientid above.
duid

# Persist interface configuration when dhcpcd exits.
persistent

# vendorclassid is set to blank to avoid sending the default of
# dhcpcd-<version>:<os>:<machine>:<platform>
vendorclassid

# A list of options to request from the DHCP server.
option domain_name_servers, domain_name, domain_search
option classless_static_routes
# Respect the network MTU. This is applied to DHCP routes.
option interface_mtu

# Request a hostname from the network
option host_name

# Most distributions have NTP support.
#option ntp_servers

# Rapid commit support.
# Safe to enable by default because it requires the equivalent option set
# on the server to actually work.
option rapid_commit

# A ServerID is required by RFC2131.
require dhcp_server_identifier

# Generate SLAAC address using the Hardware Address of the interface
#slaac hwaddr
# OR generate Stable Private IPv6 Addresses based from the DUID
slaac private

script ""

allowinterfaces pppoe0 em0 em1
interface pppoe0
        ipv6rs
        ia_na 1
        ia_pd 2 em0/1 em1/2



cat /etc/rad.conf
interface em0
interface em1

cat /etc/hostname.em0
inet 10.2.1.1 0xffffff00
inet6 autoconf

ifconfig em0 em0: flags=248843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6TEMP,AUTOCONF6> mtu 1500
        lladdr 00:11:0a:5f:6d:40
        index 2 priority 0 llprio 3
        media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
        status: active
        inet6 fe80::211:aff:fe5f:6d40%em0 prefixlen 64 scopeid 0x2
        inet 10.2.1.1 netmask 0xffffff00 broadcast 10.2.1.255

Reply via email to