0222不明なデバイスさん (ワッチョイ)
2017/03/21(火) 22:28:25.94ID:C4cmpNKG0Lan1を/25で分けつつ、端末に割り当てるアドレスは/24を使って、同じネットワークにする
ip route default gateway pp 1 filter 1 gateway pp 2
・
ip lan1 address 192.168.0.1/25
ip lan1 secondary address 192.168.0.128/25
・
ip filter 1 pass 192.168.0.0/25 * * * *
ip filter 2 pass 192.168.0.128/25 * * * *
・
pp select 1
pppoe use lan2
プロバイダA設定
pp enable 1
pp select 2
pppoe use lan3
プロバイダB設定
pp enable 2
・
dhcp scope 1 192.168.0.2-192.168.0.127/24 gateway 192.168.0.1
dhcp scope bind 1 192.168.0.2 ethernet XX:XX:XX:XX:XX:XX
dhcp scope bind 1 192.168.0.3 ethernet YY:YY:YY:YY:YY:YY
・
dhcp scope 1 192.168.0.129-192.168.0.254/24 gateway 192.168.0.128
dhcp scope bind 1 192.168.0.129 ethernet RR:RR:RR:RR:RR:RR
dhcp scope bind 1 192.168.0.130 ethernet SS:SS:SS:SS:SS:SS