Hi,
Anyone have any suggestions?
Thanks,
Mark K. --- Begin Message ---
On Wed, 25 Apr 2001, Steve Modica wrote:
> > Mark> I'm attempting to test a single Alteon GbE card via an external
> > Mark> loopback cable. I want to get data out on the cable. In the
> > Mark> past, I have accomplished this under Irix (SGI unix) by
> > Mark> disabling the following at /var/sysgen/master.d/bsd:
> I suspect this is not an issue with the acenic card per se, but rather a
> decision made in the ip layer. If it looks like the packet is meant for the
> local machine, it probably calls loopback_xmit automagically.
>
Indeed, in Linux overriding loopback seems impossible by
just doing some routing tricks, so you'll need to hack some code to make
it work.
What might work is compiling in the acenic driver statically, and
changing drivers/net/Space.c so that dev_base points to eth0, and
loopback is after that.
Another possible place for modifications is net/ipv4/devinet.c,
in inet_select_addr, just check the destination, and if it's not
a loopback addr, ignore the loopback address.
A third way of conning the machine to send the packets to the wire
is to actually send them to another IP, then have a NAT rule
to change the incoming packets to have your IP as the destination. If
you're lucky it might even work ;)
Anyway, the guys on netdev@xxxxxxxxxxx are the best ones to ask about
this, I'm sure they'll know.
---------------------------------------------------------------------
To unsubscribe, e-mail: linux-acenic-unsubscribe@xxxxxxxxxx
For additional commands, e-mail: linux-acenic-help@xxxxxxxxxx
--- End Message ---
|