I look through the forum, yet still I have some lack of understanding. Shall I edit network config manually or I must just go to LUCI in browser and
- Turn off DHCP server on br-lan,
- Create new interface on eth1 and set up DHCP server on this one (Do I set it as 'unmanaged' in this case?)
Should I instead manage dnsmasq settings and its config files telling dnsmasq to listen on eth1 interface? I am a bit confused.
Here is my ifconfig:
br-lan Link encap:Ethernet HWaddr
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21b:b9ff:feba:88e/64 Scope:Link
inet6 addr: fdf8:7d73:bde7::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:779 errors:0 dropped:0 overruns:0 frame:0
TX packets:301 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:109822 (107.2 KiB) TX bytes:39962 (39.0 KiB)
eth0 Link encap:Ethernet HWaddr
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:815 errors:0 dropped:17 overruns:0 frame:0
TX packets:299 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124454 (121.5 KiB) TX bytes:39810 (38.8 KiB)
eth1 Link encap:Ethernet HWaddr
inet6 addr: fe80::a2a3:f0ff:fea9:d1bc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10216 (9.9 KiB) TX bytes:826 (826.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11426 (11.1 KiB) TX bytes:11426 (11.1 KiB)
I understand theoretically what I must do, yet I fail in practical realisation.
P.S. What text editor I use in OpenWRT? nano, vim? Can I install Midnight Commander?
Thank you.