1. one physical interface, 3 virtual interfaces, and inetd
I have an embedded box with a single ethernet interface that I will
configure as some number of virtual interfaces:
eth0:0 - 192.168.1.1
eth0:1 - 192.168.1.2
eth0:2 - 192.168.1.3
A request will come in on a particular interface and port, say
192.168.1.2:8037 and will invoke a program.
Here's the part I don't understand:
The program that is invoked has to take different action depending on
which IP address was used.
Is there some way for a program invoked by inetd to get the connection
information?
The program acts as an intelligent relay of sorts, acting as a bridge
between the requestor on the network and a piece of hardware connected
to a serial port.
For reasons of scalability, it would be much easier to have 1 serial
mapped to 1 IP address; there are hundreds of these clusters, and some
have 1, 2, 3, or 4 connections.
(Yes I could probably do it with sockets, but I already have the bridge
software written and tested with inetd, so why reinvent the wheel if I
don't have to....)
--Yan
2. FVWM2(-95) hotkey
3. Virtual interface/Virtual web hosting
4. LD_LIBRARY_PATH and the correct way to link
5. Virtual Host/Virtual Interface for NSCA HTTPD 1.5
6. possible to get command's id?
7. help wanted on user interface to unix on ultrix.
8. Can't get window manager as root
9. help wanted on user interface to unix on ultrix
10. UNIX/ULTRIX shell Menu interface wanted (vt not x )
11. vif-1.11 released (multiple IP addresses per interface for SunOS, HP-UX, Ultrix)
12. Apache 1.1.3, Ultrix 4.4, 26+ Virtual Hosts
13. Internet Alias/Virtual interface