Two interfaces on the same network
Mike Burger
mburger at bubbanfriends.org
Wed Jun 9 16:33:32 UTC 2004
On Wed, 9 Jun 2004, AL Chane wrote:
> Rodolfo J. Paiz ??:
> > At 22:12 6/8/2004, AL Chane wrote:
> >
> >> I have two interfaces on my linux PC in the same network:
> >
> >
> > Can you explain in detail *why* you want to do this? It is generally
> > considered a Very Bad Idea [tm]. Perhaps we can help you find a better
> > way to fulfill your requirements. Do you need more bandwidth? Do you
> > just need that computer to have two IP addresses? What is it that you
> > are trying to accomplish?
> >
> > Cheers,
> >
>
> My application is an IP Camera with two interfaces (eth0 is wired
> ethernet, eth1 is wireless) running on uClinux. IP Camera provides
> an Http server so clinet browers can access by either ethernet or wireless.
>
> Two interfaces work fine with different networks, but have probem
> to work in the same network as I described in the previous message.
>
> The situation I might have is like this:
>
> Users need first to use ethernet (eth0) to access http server
> to setup wireless(eth1) like SSID, WEP. Once wireless is setup,
> two interface eth0/eth1 with two IPS exist in the same network.
> If user unplug the ethernet wire, wireless won't work unless
> I make ethernet down or change ethernet IP to different network.
> This step might not be friendly for ordinary users.
>
> Thanks :)
In that case, you might just want to set up a static route to the camera,
using the wireless adapter's IP as the gateway.
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the redhat-list
mailing list