Milí majitelé routerů Turris,
toto fórum bylo 9. 12. 2016 zmrazeno a nahrazeno naším novým Turris fórem. Ještě chvíli bude dostupné k prohlížení, ale již zde není možné přispívat. Více informací naleznete v oznámení o uzavření fóra.
Dear Turris routers users,
this forum has been frozen on Dec 9th, 2016 and replaced by our new Turris forum. It will be read-only accessible for some time after. For more information, read the announcement about closing the forum.
root@gate:/etc/config# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 2.127.238.180 0.0.0.0 UG 0 0 0 pppoe-wan2
2.127.238.180 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan2
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
195.166.130.138 0.0.0.0 255.255.255.255 UH 0 0 0 pppoe-wan1
root@gate:/etc/config# cat network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdd1:f1e1:54dc::/48'
config interface 'lan'
option force_link '1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option dns '192.168.1.100'
option _orig_ifname 'eth0 eth1 wlan0 wlan0-1'
option _orig_bridge 'true'
option ifname 'eth1'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 4 '
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '5 6'
config interface 'wan1'
option proto 'pppoe'
option ifname 'eth2'
option username 'user1'
option password 'pass1'
option keepalive '5 5'
config interface 'wan2'
option proto 'pppoe'
option username 'user2'
option password 'pass2'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option ifname 'eth0'
root@gate:/etc/config# cat multiwan
config multiwan 'config'
option default_route 'balancer'
option enabled '1'
config interface 'wan1'
option weight '10'
option health_interval '10'
option icmp_hosts 'dns'
option timeout '3'
option health_fail_retries '3'
option health_recovery_retries '5'
option failover_to 'balancer'
option dns 'auto'
config interface 'wan2'
option weight '10'
option health_interval '10'
option icmp_hosts 'dns'
option timeout '3'
option health_fail_retries '3'
option health_recovery_retries '5'
option failover_to 'balancer'
option dns 'auto'
root@gate:/etc/config# iptables -t mangle --delete MultiWanRules 1
root@gate:/etc/config# /etc/init.d/multiwan restart
root@gate:/etc/config# /usr/bin/multiwan: line 1018: config_clear: not found
root@gate:/etc/config# ip route show table LoadBalancer
default proto static
nexthop via 195.166.130.178 dev pppoe-wan1 weight 10
nexthop via 2.127.238.180 dev pppoe-wan2 weight 10
2.127.238.180 dev pppoe-wan2 proto kernel scope link src 2.121.127.82
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
195.166.130.178 dev pppoe-wan1 proto kernel scope link src 80.189.166.198
Powered by mwForum 2.29.3 © 1999-2013 Markus Wichitill