specifical network driver
Hi, i have IXP425 board and have this network hardware:
~~~~~~~~~~~~~~~~eth0 -- MII 0
myeth0 --|~~~~~~~~~~~~~~~~~~~~~~~~|-- EthPort0
~~~~~~~~~|----- eth1 -- MII 1 ----|
myeth1 --|~~~~~~~~~~~~~~~~~~~~~~~~|-- EthPort1
eth1 - is from ixp400 Intel lib ixp400_eth.ko.
I want to create two network devices, which really are one (eth1). But Linux must see them as different: ifconfig myeth0, myeth1.
How can i do it???
1. I can write a driver for myeth, but i don't know how to transmit and receive packets between my and eth1 driver (in functions hard_start_xmit etc.)
2. Using aliases. For exmaple eth1:0, eth1:1, but in func hard_start_xmit i cannot define from which alias packets must be transmitted (if packet is routed, sorce ip will not be the same as alias ip).