All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hamza Ferrag <hferraggreat@gmail.com>
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Problem with DHCP Requests Forward in Bridge
Date: Thu, 18 Jun 2009 19:12:44 +0200	[thread overview]
Message-ID: <4A3A758C.8050807@gmail.com> (raw)

Hi All,

My requirement is as below,

- I have de create a bridge on linux machine (kernel 2.6) and i have 2 
physical interfaces (eth0 & eth2)
- I have a scheme like this


Windows                                                                       

DHCP                                                                            
DHCP
Client                     Linux 
Bridge                                         Server
 -------                  
-----------------                                    ----------
|  eth0 |----------------| eth1        
eth0|--------------------10.255.0.1/24-| eth0     |
| (dhcp)|                | (br0=eth0+eth1) 
|                                  |          |
 -------                  
-----------------                                    ----------


First Scenario :

Fixed ip adresse of br0 in my Linux Bridge (192.168.0.1)

Results :
  * Windows Client obtain an ip adress from dhcp server (10.255.0.2) 
(dhcp requests pass correctelly throught Linux Bridge).
  *And i can manage my Linux Bridge from a Windows PC (using 
http://192.168.0.1). All is good and this is my goal.

Second Scenario :

I switch the br0 to dhcp (not fixed IP)

Results :
  * My Linux bridge obtain an ip adress (br0=10.255.0.3)..all right
  * But, i can't access anywher from my Windows client (i can't obtain 
an ip)
  * A tcpdump on my Linux Bridge, i see DHCP REQUEST arrived from 
Windows PC on eth1 interface but not repeated on eth0 interface..:(.



MY goal is that the Windows can obtain an IP from the dhcp server, and i 
will able to administer my Linux Bridge (a simple box-router that a 
developed myself).

Thanks a lot for your help.

Hamza F

                 reply	other threads:[~2009-06-18 17:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A3A758C.8050807@gmail.com \
    --to=hferraggreat@gmail.com \
    --cc=bridge@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.