Mam taki sam konfig jak Ty z tym że w sekcji wan zamiast pppoa mam pppoe
W edimaxie br6104kp mam taki konfig
cat /etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth1 eth2 eth3 eth4'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.0.200'
option 'dns' '192.168.0.200'
config 'interface' 'wlan0'
option 'ifname' 'wlan0'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.2.1'
config 'interface' 'wan'
option 'ifname' 'eth0'
option 'proto' 'pppoe'
option 'username' 'xxxx@dialnet.pl'
option 'password' 'xxxxxx'
option 'keepalive' '3 5'
config 'switch'
option 'eth0' '0c'
option 'eth1' '1234c'
option 'enable' '1'
cat /etc/config/dhcp
config 'dnsmasq'
option 'boguspriv' '1'
option 'localise_queries' '1'
option 'rebind_protection' '1'
option 'local' '/lan/'
option 'domain' 'lan'
option 'expandhosts' '1'
option 'authoritative' '1'
option 'readethers' '1'
option 'leasefile' '/tmp/dhcp.leases'
option 'resolvfile' '/tmp/resolv.conf.auto'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '12h'
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
config 'dhcp'
option 'interface' 'lan'
option 'ignore' '0'
Na tl-mr3220 mam ten sam internet i chodzi
cat /etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.0.50'
option 'dns' '192.168.0.50'
config 'interface' 'wan'
option 'ifname' 'eth1'
option 'proto' 'pppoe'
option 'username' 'xxx@dialnet.pl'
option 'password' 'xxx'
option 'keepalive' '3 5'
config 'switch' 'eth0'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '1'
option 'ports' '0 1 2 3 4'
cat /etc/config/dhcp
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k 0 # enable for dial on demand
option localise_queries 1
option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
option rebind_localhost 1 # enable for RBL checking and similar services
#list rebind_domain example.lan # whitelist RFC1918 responses for domains
option local '/lan/'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
#list server '/mycompany.local/1.2.3.4'
#option nonwildcard 1
#list interface br-lan
#list notinterface lo
#list bogusnxdomain '64.94.110.11'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
config dhcp wan
option interface wan
option ignore 1
Z tym że na edimaxie eth0 to wan, eth1,eth2,eth3,eth4 to lan
a na tplinku wychodzi na to ze eth1 to wan a eth0 to lan
Najlepsze jest to ze na edimaxie na routerze internet dziala, jest wyjscie na swiat a na kompach podlaczonych do tego routera po kablu netu nie ma
Oczywiscie jak korzystam z edimaxa i probouje uzyskac polaczenie pppoe to tplinka mam odlaczonego zeby sie nie gryzly bo inaczej zauwazylem ze jak edimax laczy sie po pppoe i tplink jest podpiety do edimaxa to brame i dnsy dostaje od tplinka
Co moze byc skopane w edimaxie i w jaki sposob w tych konfigach router ma wiedziec ze na interfejsie eth1,eth2,eth3,eth4 ma byc udostepniony internet od eth0. Wydaje mi sie ze chodzi o sekcje switch