hello,
so i have been banging my head against the wall on this one for way too
long and now have some legitimate question, i think.
first network topology:
ISP->modem->wrt->my_machine
no ipv6 from ISP so i use HE as my broker.
--------------------------/etc/config/network:
------------------BEGINS----------------------
#### VLAN configuration
config switch eth0
option enable 1
config switch_vlan eth0_1
option device "eth0"
option vlan 1
option ports "1 2 3 4 5t"
option mtu 9000
config switch_vlan eth0_2
option device "eth0"
option vlan 2
option ports "0 5t"
option mtu 9000
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
# config interface lan
# option type bridge
# option ifname "eth0.1"
# option proto static
# option ipaddr 192.168.1.1
# option netmask 255.255.255.0
# option mtu 9000
#### HE LAN configuration
#option ip6addr '2001:470:8c7e::1/48'
#option ip6prefix '2001:470:1f07:12d::/64'
config interface lan
option ifname "eth0.1"
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6addr '2001:***:***7:***::1/64'
option ip6assign 60
option mtu 9000
option verbose 'true'
#### WAN configuration
config interface wan
option ifname "eth0.2"
option proto dhcp
config interface henet
option proto '6in4'
option 'mtu' '1480'
option peeraddr '209.51.161.14'
option ip6addr '2001:***:***6:***::1/64'
option ip6prefix '2001:***:***7:***::1/64'
option tunnelid 'omitted'
option username 'omitted'
option updatekey 'omitted'
option verbose 'true'
--------------------------/etc/config/network:
-------------------ENDS----------------------
------------------/etc/dnsmasq.conf:
-------------BEGINS-----------------
log-queries
log-dhcp
#cache-size=512
cache-size=1024
dhcp-range=2001:470:1f07:12d::,ra-names
enable-ra
------------------/etc/dnsmasq.conf:
-------------ENDS-------------------
client side log of DHCP negotiations for ethernet on my_machine:
dhcpcd[29585]: enp3s0: carrier acquired
dhcpcd[29585]: enp3s0: IAID 41:38:18:b0
dhcpcd[29585]: enp3s0: soliciting an IPv6 router
dhcpcd[29585]: enp3s0: Router Advertisement from fe80:::
dhcpcd[29585]: enp3s0: adding address 2001:***:***7:***:****:****:****:****/64
dhcpcd[29585]: enp3s0: adding route to 2001:***:***:***::/64
dhcpcd[29585]: enp3s0: adding default route via fe80::6a7f:74ff:fe30:f2e2
dhcpcd[29585]: enp3s0: rebinding lease of 192.168.1.222
dhcpcd[29585]: enp3s0: leased 192.168.1.222 for 43200 seconds
dhcpcd[29585]: enp3s0: adding route to 192.168.1.0/24
dhcpcd[29585]: enp3s0: adding default route via 192.168.1.1
dhcpcd[29585]: enp3s0: Router Advertisement from fe80:::
now what i would like to happend is for dhcp server to stop offering ipv4.
in other words i would to keep clients in dark about the source of ipv6 if
you like. is this possible?
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users