On Feb 27, 11:55 am, "David Nicoson" <bigda...@yahoo.com> wrote:
> On Feb 27, 12:33 pm, "Ramon F Herrera" <r...@conexus.net> wrote:
>
> > How can I restrict an interface to have only one IP address and
> > completely ignore any traffic sent to the other interface?
>
> Can you show us the output of ifconfig -a ?
> Please also describe your physical connections and how you found
> verified the traffic.
Thanks for your help, David.
One problem is that my ISP provides a LAN (not a point-to-point link).
The ISP mask spans the 2 subnets that you see in eth0 and eth1, and
therefore the ISP's router is arping for the hidden address (which is
physically behind a firewall), when in fact it should be routing.
It seems that Linux is nice and says; "what is this guy doing arping
in this subnet? well, I'll help him with proxy arp and pretend I am
the other interface".
I do realize that the subnets involved are inconsistent (haven't been
able to have the ISP fix their side), but with all the uncertainties
and varying topology, what I need is to eliminate one uncertainty: one
card should not do anything on behalf of the other.
I was able to verify the proxy behavior like this:
# ifconfig eth1 down
and removing that Ethernet cable. Still pings and ssh sessions to the
66.162.85.124 address are merrily answered.
-Ramon
--------------
ramon@cowboy ~> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0B

B:E7:29

9
inet addr:66.162.85.84 Bcast:66.162.85.95 Mask:
255.255.255.224
inet6 addr: fe80::20b:dbff:fee7:29d9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:581767 errors:0 dropped:0 overruns:0 frame:0
TX packets:680886 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:152727048 (145.6 MiB) TX bytes:159783412 (152.3
MiB)
Interrupt:217
eth1 Link encap:Ethernet HWaddr 00:0B

B:E7:29

A
inet addr:66.162.85.124 Bcast:66.162.85.127 Mask:
255.255.255.224
inet6 addr: fe80::20b:dbff:fee7:29da/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:33170 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11381 (11.1 KiB) TX bytes:2122900 (2.0 MiB)
Interrupt:225
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:16436 Metric:1
RX packets:29969 errors:0 dropped:0 overruns:0 frame:0
TX packets:29969 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19241927 (18.3 MiB) TX bytes:19241927 (18.3 MiB)