Ik heb een linux-doos die routertje speelt. Er zitten 2 ethernet kaarten in.
a.b.c.254 /24
d.c.e.1 /24
a.b.c.254 hangt aan internet. verkeer voor d.c.e.0 wordt via a.b.c.254 gerouteerd.
Dit werkt prima, met wat iptable rules erop.
Nu zit ik net te kijken met ifconfig en nu zie ik dit:
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.254 Bcast:a.b.c.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:836402 errors:0 dropped:0 overruns:0 frame:0
TX packets:4986781 errors:0 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:100
RX bytes:302684665 (288.6 Mb) TX bytes:306799637 (292.5 Mb)
Interrupt:9 Base address:0xf880
eth0:2 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.2 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:2- Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:1.2.3.4 Bcast:1.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:10 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.10 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:11 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.11 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:12 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.12 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:13 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.13 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:14 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.14 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
dit loopt door tot 253
Kortom voor alle niet gebruikte ip adressen heb ik een interface erbij gekregen.
Het is een RedHat 7.2 systeempje.
Hoe kan dit, hoe los ik het op ?
ps. ik heb wat lopen pielen met subnet pings (a.b.c.255)
a.b.c.254 /24
d.c.e.1 /24
a.b.c.254 hangt aan internet. verkeer voor d.c.e.0 wordt via a.b.c.254 gerouteerd.
Dit werkt prima, met wat iptable rules erop.
Nu zit ik net te kijken met ifconfig en nu zie ik dit:
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.254 Bcast:a.b.c.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:836402 errors:0 dropped:0 overruns:0 frame:0
TX packets:4986781 errors:0 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:100
RX bytes:302684665 (288.6 Mb) TX bytes:306799637 (292.5 Mb)
Interrupt:9 Base address:0xf880
eth0:2 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.2 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:2- Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:1.2.3.4 Bcast:1.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:10 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.10 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:11 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.11 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:12 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.12 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:13 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.13 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
eth0:14 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:a.b.c.14 Bcast:1.2.3.4 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:9 Base address:0xf880
dit loopt door tot 253
Kortom voor alle niet gebruikte ip adressen heb ik een interface erbij gekregen.
Het is een RedHat 7.2 systeempje.
Hoe kan dit, hoe los ik het op ?
ps. ik heb wat lopen pielen met subnet pings (a.b.c.255)
GA-Z68X-UD3H-B3 I7-2600K@4.4GHz 24Gb Ram 7Tb HDD