tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ipv6 gateway on different subnet



On Wed, Jan 22, 2025 at 2:23 PM Robert Swindells <rjs%fdy2.co.uk@localhost> wrote:
> >
> > It was buried in one of the posts. I am not using dhcpcd.
>
> Have you tried using it?
>
> Maybe using:
>
> dhcpcd_flags="-C resolv.conf -6 --nodhcp6 vioif0"

dhcpcd works for ipv4 just fine, but not ipv6.

dhcpcd=YES
dhcpcd_flags="-qM vioif0"

ifconfig
vioif0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ec_capabilities=0x1<VLAN_MTU>
    ec_enabled=0
    address: 00:16:3e:d7:cf:50
    status: active
    inet6 fe80::5fcd:799d:8299:7afa%vioif0/64 flags 0 scopeid 0x1
    inet 23.173.152.249/24 broadcast 23.173.152.255 flags 0


with
dhcpcd=YES
dhcpcd_flags="-qM -6 vioif0"

vioif0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ec_capabilities=0x1<VLAN_MTU>
    ec_enabled=0
    address: 00:16:3e:d7:cf:50
    status: active
    inet6 fe80::5fcd:799d:8299:7afa%vioif0/64 flags 0 scopeid 0x1


I did not see --nodhcp6 option in the man page, but adding it didn't work.

I also tried with ip6mode="autohost" which did not work.

-- 
Thanks
Peter


Home | Main Index | Thread Index | Old Index