Ik probeer al een tijdje een asus WL-500g in client mode toe te voegen aan mijn netwerk..maar het wil maar niet lukken. Ik kan wel mijn hoofdrouter op 192.168.1.1 pingen maar de openwrt router kan niet google.nl pingen of pakkets downloaden..Ik vermoed dat ik een route moet toevoegen maar hoe?
Tips?
resolf.conf
network
Tips?
resolf.conf
code:
1
| nameserver 192.168.1.1 |
network
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| #### VLAN configuration
config switch eth0
option vlan0 "1 2 3 4 5*"
option vlan1 "0 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.1
option netmask 255.255.255.0
#### WAN configuration
config interface wan
option ifname "eth0.1"
option proto dhcp
option gateway 192.168.1.1
option dns 192.168.1.1 |
code:
1
2
3
4
5
| root@OpenWrt:~# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.1 |