Hello,
I am using Kamikaze 7.09 on a Linksys WRT54GL, this router is second in a row behind my DSL-Router (192.168.2.1). The WAN-Port is configured to use DHCP to get all relevant data from the DSL-Router, all lan/wlan ports are configured to provide DHCP-services for clients.
Everything is working fine....
Till...
I am trying to separate the ethernert port labeled on the case with '4' (in internal notation it is '0') in a separate VLAN, till now without luck.
Symptom:
- Clients connected to all other ports than '4' (resp. '0') do work fine, they can connect in the internet and so on
- Clients connected to port '4' (resp. '0') get an IP, DNS name resolution works, but even a simple ping or traceroute into the internet does not work (these clients are only able to ping / connect to the Linksys, but not further; the traceroute does not move one single hop and tcpdump on Linksys is not showing anything.)
Examples:
traceroute www.cnn.com
traceroute: Warning: www.cnn.com has multiple addresses; using 157.166.224.25
traceroute to www.cnn.com (157.166.224.25), 64 hops max, 40 byte packets
1 192.168.20.4 (192.168.20.4) 82.475 ms 0.670 ms 0.753 ms
2 * * *
3 * ...... and so on.......
Configuration (mostly created by using VLAN examples out of this forum and other placess):
cat /etc/config/network
#### VLAN configuration
config switch eth0
option vlan0 "1 2 3 5*"
option vlan1 "0 5"
option vlan2 "4 5"
#### 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.0"
option proto static
option ipaddr '192.168.1.50'
option netmask 255.255.255.0
option gateway ''
config interface lan2
option type bridge
option ifname "eth0.1"
option proto static
option ipaddr '192.168.20.4'
option netmask 255.255.255.0
option gateway ''
#### WAN configuration
config interface wan
option ifname "eth0.2"
option proto dhcp
cat /etc/config/dhcp
config 'dnsmasq'
option 'domainneeded' '1'
option 'boguspriv' '1'
option 'filterwin2k' '0'
option 'localise_queries' '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'
option 'nonegcache' '1'
option 'logqueries' '1'
config 'dhcp' 'lan'
option 'interface' 'lan'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '12h'
config 'dhcp' 'wan'
option 'interface' 'wan'
option 'ignore' '1'
#### Add the lines below if you want lan2 to also serve out dhcp
config 'dhcp' 'lan2'
option 'interface' 'lan2'
option 'start' '100'
option 'limit' '150'
option 'leasetime' '12h'
Any ideas ?
Thanks
Ity