public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Bringing up two interfaces with ECOS
@ 2001-08-16 11:47 Anil Arvindam
  0 siblings, 0 replies; only message in thread
From: Anil Arvindam @ 2001-08-16 11:47 UTC (permalink / raw)
  To: ecos-discuss

Hi,
 
 I am trying to bring ECOS up on a board with two interfaces. One is
physical (eth0) and one is logical (MAC). The MAC interface has its own MAC
address and IP address (which must be set via DHCP). I use
init_all_network_interfaces to bring up eth0 and the loopback interface. I
then use DCHP for the MAC interface which completes successfully, but as
soon as that is done, the board becomes inaccessible. I had to remove the
route_reinit() call within the bring_half_up function() to get this to work.
The routing table shows only the MAC entry. The questions I have are:
1) Do I need to modify DHCP (do_dhcp) to support this feature? 
2) Do I have to create a route_add function to add routes to the table after
DHCP is done. If so, how? Via an AF_ROUTE ioctl if that is supported?
Or, is there some simple and obvious way that I've overlooked to get this
thing to work?

Thanks,
anil.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 11:47 [ECOS] Bringing up two interfaces with ECOS Anil Arvindam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).