Posted by
Grommish on
Apr 16, 2020; 4:32pm
URL: https://itus.accessinnov.com/FIRMWARE-Itus-Networks-Shield-Firmware-Upgrade-WIP-tp1726p1952.html
This image is setup to act like the ROUTER image, even if it's in the GATEWAY position..
This mean:
eth0 = WAN - This should go upstream to your network, be it to an internal router as a stub (which is how I operate) or your cable modem.
eth0 is set to ask via DHCP for an IP address.
eth1/eth2 = LAN - These are your LAN ports.. These should go to your router, switch, hub, PC, etc. eth1/eth2 are BRIDGED interfaces, which means they do NOT pull an IP address. This is handled by the br-lan interface, and assigns itself a 10.10.10.10 address by default. There is no difference between the eth1/eth2 port, although I use eth2 out of habit.
The br-lan interface acts as a DHCP/DNS SERVER for the LAN.. It will handle DHCP and DNS queries via dnsmasq.
You will NEVER see an IP address under the eth1/eth2 ifconfig.. If you do, something is very very wrong. See my active ifconfig below. Notice the br-lan /eth0 interfaces vs eth1/2
Try rebooting the Shield if the eth0 doesn't pickup an IP address.. I have no idea why it does it sometimes (always has).
Be default, snort is NOT running (it works, but I've yet to get the procd calls in /etc/init.d/snort to actually work. If you want to run it, type:
/usr/bin/snort -Q -v --daq afpacket --daq-dir /usr/lib/daq/ -i eth0:br-lan -c /etc/snort/snort.lua -A alert_full -D
br-lan Link encap:Ethernet HWaddr 2C:26:5F:80:04:A5
inet addr:10.10.10.10 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fd18:640:804c::1/60 Scope:Global
inet6 addr: fe80::2e26:5fff:fe80:4a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3948005 errors:0 dropped:0 overruns:0 frame:0
TX packets:12423282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4712187236 (4.3 GiB) TX bytes:12609314018 (11.7 GiB)
eth0 Link encap:Ethernet HWaddr 2C:26:5F:80:04:A4
inet addr:192.168.1.16 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: 2605:a000:1317:43a0:2e26:5fff:fe80:4a4/64 Scope:Global
inet6 addr: fe80::2e26:5fff:fe80:4a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4836004 errors:0 dropped:0 overruns:0 frame:0
TX packets:11589343 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4519966277 (4.2 GiB) TX bytes:12927081645 (12.0 GiB)
eth1 Link encap:Ethernet HWaddr 2C:26:5F:80:04:A5
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)
eth2 Link encap:Ethernet HWaddr 2C:26:5F:80:04:A6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3948005 errors:0 dropped:0 overruns:0 frame:0
TX packets:12423267 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4783251326 (4.4 GiB) TX bytes:12609312104 (11.7 GiB)
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:544 (544.0 B) TX bytes:544 (544.0 B)
Running Itus Shield v2 Firmware