Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Config ethernet to be TCP/IP and IEEE 802.3 (et0)

Status
Not open for further replies.

tllintx

Programmer
Aug 7, 2000
10
US
Help!<br><br>we have one LAN hardware interface. However, the way I understand AIX is it creates two interfaces for this hardware. the en0 and et0 drivers. the en0 driver is used for TCP/IP communications. I've already assigned an IP address to this interface, we have code that creates sockets, and this all seems to work great. Yet, we also need to communicate link level. I know the et0 interface is configured IEEE 802.3 so it should&nbsp;&nbsp;support link level. I thought all we needed to do was open(&quot;/dev/et0&quot;...). But there is no et0 device under the /dev directory. So I don't know what I'm doing wrong. Do I need to further config the et0 interface? Any suggestion on how to make our link level work?
 
You must configure your net interface with smit or using ifconfig (remembering your ifconfig values are lost with each restart of the machine). The same your <font color=red>en<b>x</b></font> interface, it won't show in your <FONT FACE=monospace>/dev</font> directory... but you can use all your traditional <FONT FACE=monospace>C</font> ways to use a net iterface...<br><br>I hopr it works..
 
I'm sorry but I am very familiar with setting up link level networking but I must support it for communication to some older processors. I want to make sure I understand correctly.<br><br>I need to use smit and assign the IP address of the en0 interface to the et0 interface? That IP will then be assigned twice. Correct? What traditional C ways are you refering to? I thought I was suppose to use 'open' but how do I open a device when I don't know its directory path? Or do I need to use raw sockets? I didn't think that was correct since I want to communicate link level. <br><br>Any help would be great! Thanks!
 
You can use the ifconfig with XNS addresses to set up your interface... search for the info about in man.
 
What does it mean by network number when I try to ifconfig with the XNS? [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top