Multiple Ethernet cards on the same computer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

Imagine a setup where on the same computer (running Red Hat Linux 6.2),
i install 3 ethernet cards, all connected to routers (which may or may
not be in the same home domain).
To bring everything down to the IP layer, let's say i'm using raw
sockets, and framing my own I packets (carrying say, ICMP). The usual
way to send the packet is to call the sendto() function. However, i
don't get any option of specifying which interface to send the packet
on.

Another question i had was, how does one modify the kernel routing
table?

Any info/link will be appreciated.

Sunny days,
Aditya

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux