This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: again: server_test dosn't work
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Roland Ca?ebohm <roland dot cassebohm at visionsystems dot de>
- Cc: eCos Disuss <ecos-discuss at sourceware dot cygnus dot com>
- Date: Thu, 10 Jan 2002 13:58:56 +0100
- Subject: Re: [ECOS] again: server_test dosn't work
- References: <200201101201.g0AC1kg02389@hhlx01.visionsystems.de>
> Redboot get an ip-address from dhcp and the program does its own dhcp
> request get its ip-address too. Most of times the server_test program gets
> another ip_address as redboot. In this times I could connect via telnet. But
> sometimes the server_test program gets the same ip-address as redboot and
> then I can't connect to it with telnet.
>
> Does anybody knows why the server_test program gets most times another
> ip-address and why does it not work it gets the same?
You need to have two different IP addresses. There are two IP
stacks. If both have the same address, one stack will get all the
packets and the other none.
There are a few solutions to the problem.....
Use bootp and DHCP, one for each IP address and configure the servers
with different IP address ranges.
Statically allocate an IP address for one of the stacks. Get the other
dynamically.
etc
Andrew