Jaggu wrote:
> Hi all,
> Look this and I have one question regarding this...
>
> root@ml310:/# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:0A:35:00:52:50
> inet addr:1.1.1.1 Bcast:1.255.255.255
> Mask:255.255.255.0
> 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:100
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Interrupt:31 Base address:0x7000
>
Your eth0 configuration is incorrect - the mask and
broadcast addresses do not match.
Besides, DO NOT use fabricated addresses, but DO use
the RFC 1918 addresses (e.g. 192.168.x.y) for private use.
There will be no secrity risks to show the RFC 1918
addresses publicly.
> So, I have one Ethernet interface, I did an FTP logging into defferent
> user...but same host and made file transfer as above.
>
> quetsion 1: Do the packets actually travelled through the Ether PHY and
> came back?
No. See below.
> 2. Do the packets loop back at the IP layer itself , just checking IP
> address and as in my case the sender and receiver IP address is same?
> do they travel to physical layer?
The IP stack is smart enough to route ALL packets
for local destination via the loopback interface, lo.
--
Tauno Voipio
tauno voipio (at) iki fi
|