Answer the question
In order to leave comments, you need to log in
DD-WRT iptables how to make two local subnets?
There is a router with DD-WRT. (ip 192.168.100.1). The second subnet with ip 192.168.120.1 is configured on the router.
ifconfig:
br0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3 (3.0 B) TX bytes:0 (0.0 B)
br0:0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:169.254.255.1 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
br0:3 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:192.168.120.1 Bcast:192.168.120.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3419 errors:0 dropped:0 overruns:0 frame:0
TX packets:3318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:559503 (546.3 KiB) TX bytes:1513031 (1.4 MiB)
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:66
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:348 (348.0 B) TX bytes:348 (348.0 B)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question