Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Robyn Orosz
Hi Damien,

Thanks for the extra info.  I think the problem may be due to your 
masquerade rules.  Rule 1 is masquerading all traffic that leaves eth2.  
So, anything with a source address of 192.168.10.x will be changed to a 
source address of 192.168.2.10. 

Rule 2 looks like it's basically doing the reverse.  Why do you have 
these masquerade rules configured?  You shouldn't need any NAT for the 2 
connected networks and this will confuse things as I think it may be 
doing now.

Thanks,

Robyn

Dams wrote:
> Thanks Robyn,
>
>
> My config
> Internet - Untangle -- Switch and plug on the switch Vyatta Router, 
> the network 192.168.2.0 , and the DHCP Server
>
> Schema:
>X -   
> Vyatta -- Network 192.168.10.0 
> Internet --- Untangle Gateway --- Switch 
>   X--   
> Network 192.168.2.0  + DHCP Server
>
> My config on vyatta
> protocols {
> snmp {
> community public {
> client 192.168.2.5 
> client 192.168.2.99 
> }
> trap-target 192.168.1.1 
> trap-target 192.168.10.1 
> contact: "Network Administrator"
> location: "X"
> }
> static {
> }
> }
> policy {
> }
> interfaces {
> loopback lo {
> address 10.0.0.65  {
> prefix-length: 32
> }
> }
> ethernet eth0 {
> description: "My Sub Net 10"
> hw-id: 00:03:47:06:39:9e
> address 192.168.10.1  {
> prefix-length: 24
> }
> }
> ethernet eth1 {
> disable: true
> description: "Not Working"
> hw-id: 00:06:5b:a5:29:10
> }
> ethernet eth2 {
> description: "Interface Out"
> hw-id: 00:0e:2e:98:18:80
> address 192.168.2.10  {
> prefix-length: 24
> }
> }
> }
> service {
> dhcp-relay {
> interface eth0
> interface eth2
> server 192.168.2.2 
> relay-options {
> }
> }
>nat {
> rule 1 {
> type: "masquerade"
> outbound-interface: "eth2"
> }
> rule 2 {
> type: "masquerade"
> inbound-interface: "eth2"
> outbound-interface: "eth0"
> protocols: "all"
> source {
> network: " 192.168.2.0/24 "
> }
> destination {
> network: "192.168.10.0/24 "
> }
> }
> }
> ssh {
> }
> webgui {
> }
> }
> firewall {
>  }
> }
> system {
> host-name: "X"
> domain-name: " .ac.id "
> domain-search {
> domain "X.ac.id "
> }
> name-server 192.168.2.2 
> time-zone: "GMT+7"
> ntp-server "69.59.150.135 "
> gateway-address: 192.168.2.1 
> login {
> user root {
> authentication {
> encrypted-password: ""
> }
> }
> user vyatta {
> authentication {
> encrypted-password: ""
> }
> }
> user networkadmin {
> full-name: "Network Administrator"
> authentication {
> encrypted-password: ""
> plaintext-password: ""
> }
> }
> }
> package {
> repository community {
> component: "main"
> url: "http://archive.vyatta.com/vyatta";
> }
> }
> options {
> }
> }
>
> The capture from a PC in the network 192.168.2.0 
> tshark -i eth2 port 67 and port 68 -Vn
>
> Frame 5 (342 bytes on wire, 342 bytes captured)
> Arrival Time: Dec  6, 2007 09:00: 22.590416000
> [Time delta from previous packet: 0.018551000 seconds]
> [Time since reference or first frame: 0.019484000 seconds]
> Frame Number: 5
> Packet Length: 342 bytes
> Capture Length: 342 bytes
> [Frame is marked: False]
> [Protocols in frame: eth:ip:udp:bootp]
> Ethernet II, Src: MacRouterEth2 (MacRouterEth2), Dst:  
>(XXX)
> Destination: X

Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Dams
Thanks Robyn,


My config
Internet - Untangle -- Switch and plug on the switch Vyatta Router, the
network 192.168.2.0, and the DHCP Server

Schema:
   X -   Vyatta --
Network 192.168.10.0
Internet --- Untangle Gateway --- Switch
  X--   Network
192.168.2.0 + DHCP Server

My config on vyatta
protocols {
snmp {
community public {
client 192.168.2.5
client 192.168.2.99
}
trap-target 192.168.1.1
trap-target 192.168.10.1
contact: "Network Administrator"
location: "X"
}
static {
}
}
policy {
}
interfaces {
loopback lo {
address 10.0.0.65 {
prefix-length: 32
}
}
ethernet eth0 {
description: "My Sub Net 10"
hw-id: 00:03:47:06:39:9e
address 192.168.10.1 {
prefix-length: 24
}
}
ethernet eth1 {
disable: true
description: "Not Working"
hw-id: 00:06:5b:a5:29:10
}
ethernet eth2 {
description: "Interface Out"
hw-id: 00:0e:2e:98:18:80
address 192.168.2.10 {
prefix-length: 24
}
}
}
service {
dhcp-relay {
interface eth0
interface eth2
server 192.168.2.2
relay-options {
}
}
   nat {
rule 1 {
type: "masquerade"
outbound-interface: "eth2"
}
rule 2 {
type: "masquerade"
inbound-interface: "eth2"
outbound-interface: "eth0"
protocols: "all"
source {
network: "192.168.2.0/24"
}
destination {
network: "192.168.10.0/24"
}
}
}
ssh {
}
webgui {
}
}
firewall {
 }
}
system {
host-name: "X"
domain-name: ".ac.id"
domain-search {
domain "X.ac.id"
}
name-server 192.168.2.2
time-zone: "GMT+7"
ntp-server "69.59.150.135"
gateway-address: 192.168.2.1
login {
user root {
authentication {
encrypted-password: ""
}
}
user vyatta {
authentication {
encrypted-password: ""
}
}
user networkadmin {
full-name: "Network Administrator"
authentication {
encrypted-password: ""
plaintext-password: ""
}
}
}
package {
repository community {
component: "main"
url: "http://archive.vyatta.com/vyatta";
}
}
options {
}
}

The capture from a PC in the network 192.168.2.0
tshark -i eth2 port 67 and port 68 -Vn

Frame 5 (342 bytes on wire, 342 bytes captured)
Arrival Time: Dec  6, 2007 09:00:22.590416000
[Time delta from previous packet: 0.018551000 seconds]
[Time since reference or first frame: 0.019484000 seconds]
Frame Number: 5
Packet Length: 342 bytes
Capture Length: 342 bytes
[Frame is marked: False]
[Protocols in frame: eth:ip:udp:bootp]
Ethernet II, Src: MacRouterEth2 (MacRouterEth2), Dst: 
   (XXX)
Destination:  (X)
Address:  (X)
 ...0     = IG bit: Individual address (unicast)
 ..0.     = LG bit: Globally unique address
(factorydefault)
Source: MAC (MacRouterEth2)
Address: MacRouterEth2 (0MacRouterEth2)
 ...0     = IG bit: Individual address (unicast)
 ..0.     = LG bit: Globally unique address
(factorydefault)
Type: IP (0x0800)
Internet Protocol, Src: 192.168.2.10 (192.168.2.10), Dst: 192.168.2.196 (
192.168   .2.196)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)
0001 00.. = Differentiated Services Codepoint: Unknown (0x04)
 ..0. = ECN-Capable Transport (ECT): 0
 ...0 = ECN-CE: 0
Total Length: 328
Identification: 0x (0)
Flags: 0x00
0... = Reserved bit: Not set
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 16
Protocol: UDP (0x1

Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Robyn Orosz
Hi Damien,

This should work as long as requests are coming in from hosts that are 
connected to eth0.  Is there more than one network assigned to eth0?  It 
would help if you could post your configuration (you can block out any 
public IPs). 

If you run a verbose packet capture, you should be able to see what the 
relay agent IP is in the request packet.  If it's something other than 
192.168.10.x or 192.168.2.x (your 2 scopes), the Windows server is not 
going to serve an address to it.

Try running:

tshark -i eth2 port 67 and port 68 -Vn

Thanks,

Robyn

Dams wrote:
> Thanks for your reply.
>
> Sorry, my mistake : not eth1 but eth0. (192.168.10.X)
>
> Eth2 -> network with the DHCP Server on network 192.168.2.XXx
>
> The DHCP serve the scope (192.168.2.0 ) as well : 
> here no problem the pc got their IP (see the log, after)
>
> and I would like that the DHCP server serve the scope 192.168.10.XX as 
> well on the interfaces eth0
>
> So on my windows server, I have a superScope with 2 scope ( 
> 192.168.2.0  and 192.168.10.0 )
>
>
> styohanes:~# tcpdump -n port 67 -i eth2
> tcpdump: verbose output suppressed, use -v or -vv for full protocol 
> decode
> listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
>
> 07:45:14.790263 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, 
> Request from XXX, length 300
> 07:45:31.788526 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, 
> Request from XXX, length 300
> 07:46:32.337900 IP 192.168.2.154.68 > 255.255.255.255.67: BOOTP/DHCP, 
> Request from XXX333, length 300
> 07:47:15.884938 IP 0.0.0.0.68 > 255.255.255.255.67 : BOOTP/DHCP, 
> Request from XXX222, length 300
> 07:47:15.885338 IP 192.168.2.2.67 > 255.255.255.255.68: BOOTP/DHCP, 
> Reply, length 300
> 07:47:28.896045 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, 
> Request from XXX222, length 300
> 07:47:28.896468 IP 192.168.2.2.67 > 255.255.255.255.68: BOOTP/DHCP, 
> Reply, length 300
> 07:50:50.781445 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, 
> Request from XXX, length 300
> 07:50:53.777544 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, 
> Request from XXX, length 300
>
> So, the request is going to the DHCP server, but no reply from him.
> But it work fine for the mac XXX222 which is in the network 
> 192.168.2.0 
>
> I think the problem is from my DCHP Server,
> How can you define a scope to reply to a router
> - link the Scope 192.168.10.0  to the router 
> 192.168.10.1  ?
>
>
> Thanks for your help.
>
> only 6 hours on a DHCP problem, :-/
>
>
>
> merci
> Damien
>
>
> On Dec 6, 2007 9:40 PM, Robyn Orosz < [EMAIL PROTECTED] 
> > wrote:
>
> Hi Damien,
>
> What interface is the network connected to that you wish to serve
> DHCP
> addresses?  You mention eth1 in your post, but I only see eth0 and
> eth2
> configured for dhcp-relay.  If you want to serve hosts behind
> eth1, you
> need to add eth1 to the dhcp-relay configuration.
>
> To make this more clear, if your win 2k3 server is configured with a
> DHCP scope for network 192.168.10.x, it will only serve requests made
> from the interface configured with 192.168.10.x.  The dhcp-relay adds
> the IP address of the interface that requests are seen on into the
> BOOTP
> request packets so the DHCP server knows which scope to serve
> addresses
> to.
>
> Thank you,
>
> Robyn
>
> Troopy . wrote:
> > Hello,
> >
> > Did you check the routing? i mean the DHCP server must be able to
> >  reach the client at the IP layer.
> >
> > I remember i forgot this when i wrote the DHCP openmaniak tutorial.
> > (See the case study, i forgot "set protocols static route
> 0.0.0.0/0  next-hop 10.0.2.2 ")
> >
> >
> > Bonne chance
> > Troopy
> >
> > -- Original Message --
> > From: Dams < [EMAIL PROTECTED] >
> > Date:  Thu, 6 Dec 2007 18:01:08 +0700
> >
> >
> >> Hello,
> >>
> >>
> >> I have a problem with the DHCP-relay
> >>
> >> Config:
> >>dhcp-relay {
> >>interface eth0
> >>interface eth2
> >>server 192.168.2.2 
> >>relay-options {
> >>}
> >>
> >>
> >> Eth0 conect to my DHCP server (win 2k3 Server) : 192.168.2.2
> 
> >> and Eth1 to a subnet : 192.168.10.X
> >>
> >> But the dhcp relay doesn't work
> >> X:~# tcpdump -n port 67
> >> tcpdump: verbose output suppressed, use -v or -vv for full
> protocol decode
> >> listening on eth0, link-type EN10MB (Ethernet), capture size 96
> bytes
> >> 17:50:29.636059 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP,

Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Dams
Thanks for your reply.

Sorry, my mistake : not eth1 but eth0. (192.168.10.X)

Eth2 -> network with the DHCP Server on network 192.168.2.XXx

The DHCP serve the scope (192.168.2.0) as well : here no problem the pc got
their IP (see the log, after)

and I would like that the DHCP server serve the scope 192.168.10.XX as well
on the interfaces eth0

So on my windows server, I have a superScope with 2 scope (192.168.2.0 and
192.168.10.0)


styohanes:~# tcpdump -n port 67 -i eth2
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes

07:45:14.790263 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, Request
from XXX, length 300
07:45:31.788526 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, Request
from XXX, length 300
07:46:32.337900 IP 192.168.2.154.68 > 255.255.255.255.67: BOOTP/DHCP,
Request from XXX333, length 300
07:47:15.884938 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
XXX222, length 300
07:47:15.885338 IP 192.168.2.2.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
length 300
07:47:28.896045 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
XXX222, length 300
07:47:28.896468 IP 192.168.2.2.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
length 300
07:50:50.781445 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, Request
from XXX, length 300
07:50:53.777544 IP 192.168.2.10.67 > 192.168.2.2.67: BOOTP/DHCP, Request
from XXX, length 300

So, the request is going to the DHCP server, but no reply from him.
But it work fine for the mac XXX222 which is in the network 192.168.2.0

I think the problem is from my DCHP Server,
How can you define a scope to reply to a router
- link the Scope 192.168.10.0 to the router 192.168.10.1 ?


Thanks for your help.

only 6 hours on a DHCP problem, :-/



merci
Damien


On Dec 6, 2007 9:40 PM, Robyn Orosz <[EMAIL PROTECTED]> wrote:

> Hi Damien,
>
> What interface is the network connected to that you wish to serve DHCP
> addresses?  You mention eth1 in your post, but I only see eth0 and eth2
> configured for dhcp-relay.  If you want to serve hosts behind eth1, you
> need to add eth1 to the dhcp-relay configuration.
>
> To make this more clear, if your win 2k3 server is configured with a
> DHCP scope for network 192.168.10.x, it will only serve requests made
> from the interface configured with 192.168.10.x.  The dhcp-relay adds
> the IP address of the interface that requests are seen on into the BOOTP
> request packets so the DHCP server knows which scope to serve addresses
> to.
>
> Thank you,
>
> Robyn
>
> Troopy . wrote:
> > Hello,
> >
> > Did you check the routing? i mean the DHCP server must be able to
> >  reach the client at the IP layer.
> >
> > I remember i forgot this when i wrote the DHCP openmaniak tutorial.
> > (See the case study, i forgot "set protocols static route 0.0.0.0/0next-hop
> 10.0.2.2")
> >
> >
> > Bonne chance
> > Troopy
> >
> > -- Original Message --
> > From: Dams <[EMAIL PROTECTED]>
> > Date:  Thu, 6 Dec 2007 18:01:08 +0700
> >
> >
> >> Hello,
> >>
> >>
> >> I have a problem with the DHCP-relay
> >>
> >> Config:
> >>dhcp-relay {
> >>interface eth0
> >>interface eth2
> >>server 192.168.2.2
> >>relay-options {
> >>}
> >>
> >>
> >> Eth0 conect to my DHCP server (win 2k3 Server) : 192.168.2.2
> >> and Eth1 to a subnet : 192.168.10.X
> >>
> >> But the dhcp relay doesn't work
> >> X:~# tcpdump -n port 67
> >> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> >> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
> >> 17:50:29.636059 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >> 17:50:33.376048 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >> 17:50:38.370026 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >> 17:50:47.370767 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >> 17:51:03.369141 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >>
> >>
> >> But If I add the MAC on static in my DHCP Server, it work fine.
> >>
> >> XXX:~# tcpdump -n port 67
> >> tcpdump: verbose output suppressed, use -v or -vv for full protocol
> decode
> >> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
> >> 17:11:28.052775 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 300
> >> 17:11:28.053871 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP,
> Reply,
> >> length 318
> >> 17:11:28.055461 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request
> from
> >> X, length 302
> >> 17:11:28.056391 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP,
> Reply,
> >> length 318
> >>
> >>
> >> What did I miss ?
> >>
> >>
> >> I follow the HowTo
> >> http://

Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Robyn Orosz
Hi Damien,

What interface is the network connected to that you wish to serve DHCP 
addresses?  You mention eth1 in your post, but I only see eth0 and eth2 
configured for dhcp-relay.  If you want to serve hosts behind eth1, you 
need to add eth1 to the dhcp-relay configuration.

To make this more clear, if your win 2k3 server is configured with a 
DHCP scope for network 192.168.10.x, it will only serve requests made 
from the interface configured with 192.168.10.x.  The dhcp-relay adds 
the IP address of the interface that requests are seen on into the BOOTP 
request packets so the DHCP server knows which scope to serve addresses 
to. 

Thank you,

Robyn

Troopy . wrote:
> Hello,
>
> Did you check the routing? i mean the DHCP server must be able to
>  reach the client at the IP layer.
>
> I remember i forgot this when i wrote the DHCP openmaniak tutorial.
> (See the case study, i forgot "set protocols static route 0.0.0.0/0 next-hop 
> 10.0.2.2")
>   
>
> Bonne chance
> Troopy
>
> -- Original Message --
> From: Dams <[EMAIL PROTECTED]>
> Date:  Thu, 6 Dec 2007 18:01:08 +0700
>
>   
>> Hello,
>>
>>
>> I have a problem with the DHCP-relay
>>
>> Config:
>>dhcp-relay {
>>interface eth0
>>interface eth2
>>server 192.168.2.2
>>relay-options {
>>}
>>
>>
>> Eth0 conect to my DHCP server (win 2k3 Server) : 192.168.2.2
>> and Eth1 to a subnet : 192.168.10.X
>>
>> But the dhcp relay doesn't work
>> X:~# tcpdump -n port 67
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>> 17:50:29.636059 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>> 17:50:33.376048 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>> 17:50:38.370026 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>> 17:50:47.370767 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>> 17:51:03.369141 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>>
>>
>> But If I add the MAC on static in my DHCP Server, it work fine.
>>
>> XXX:~# tcpdump -n port 67
>> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>> listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>> 17:11:28.052775 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 300
>> 17:11:28.053871 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>> length 318
>> 17:11:28.055461 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>> X, length 302
>> 17:11:28.056391 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>> length 318
>>
>>
>> What did I miss ?
>>
>>
>> I follow the HowTo
>> http://www.openmaniak.com/vyatta_case_dhcp.php#dhcp-process which is
>> brilliant, thanks.
>> The only differents is that my DHCP is not on the router, but on another PC.
>>
>> Do I need to add a route to define the DHCP Server?
>> Do i need to add a data on the server to ask him to take the request form
>> the Vyatta Router ?
>>
>>
>> Thanks for your help
>> -- 
>> Cordialement / Sincerely
>> Damien
>> MEP Volunteer Indonesia / Volontaire MEP Indonesia
>> http://www.mepasie.org
>>
>>
>>
>> 
>  
>
>  
> __
> Désirez vous une adresse éléctronique @suisse.com?
> Visitez la Suisse virtuelle sur http://www.suisse.com
>
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>   
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay

2007-12-06 Thread Troopy .

Hello,

Did you check the routing? i mean the DHCP server must be able to
 reach the client at the IP layer.

I remember i forgot this when i wrote the DHCP openmaniak tutorial.
(See the case study, i forgot "set protocols static route 0.0.0.0/0 next-hop 
10.0.2.2")
  

Bonne chance
Troopy

-- Original Message --
From: Dams <[EMAIL PROTECTED]>
Date:  Thu, 6 Dec 2007 18:01:08 +0700

>Hello,
>
>
>I have a problem with the DHCP-relay
>
>Config:
>dhcp-relay {
>interface eth0
>interface eth2
>server 192.168.2.2
>relay-options {
>}
>
>
>Eth0 conect to my DHCP server (win 2k3 Server) : 192.168.2.2
>and Eth1 to a subnet : 192.168.10.X
>
>But the dhcp relay doesn't work
>X:~# tcpdump -n port 67
>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>17:50:29.636059 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>17:50:33.376048 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>17:50:38.370026 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>17:50:47.370767 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>17:51:03.369141 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>
>
>But If I add the MAC on static in my DHCP Server, it work fine.
>
>XXX:~# tcpdump -n port 67
>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
>listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
>17:11:28.052775 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 300
>17:11:28.053871 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>length 318
>17:11:28.055461 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from
>X, length 302
>17:11:28.056391 IP 192.168.10.1.67 > 255.255.255.255.68: BOOTP/DHCP, Reply,
>length 318
>
>
>What did I miss ?
>
>
>I follow the HowTo
>http://www.openmaniak.com/vyatta_case_dhcp.php#dhcp-process which is
>brilliant, thanks.
>The only differents is that my DHCP is not on the router, but on another PC.
>
>Do I need to add a route to define the DHCP Server?
>Do i need to add a data on the server to ask him to take the request form
>the Vyatta Router ?
>
>
>Thanks for your help
>-- 
>Cordialement / Sincerely
>Damien
>MEP Volunteer Indonesia / Volontaire MEP Indonesia
>http://www.mepasie.org
>
>
>
 

 
__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay in vif interfaces (vc3)

2007-11-16 Thread Sergio Garcia
Thanks Marat, I will try it asap.


Marat Nepomnyashy wrote:
> Hi Sergio,
>
> There is a limitation in the VC3 release in that only 'ethX' values 
> can be specified for DHCP relay interfaces.  This is due to overly 
> stringent validation checks.  I just opened a new bug on this:
>
> https://bugzilla.vyatta.com/show_bug.cgi?id=2473
>
>
> A temporary work-around can be implemented using the attachments just 
> added to Bug 2473.
>
> There is the attachment id 238 that should be copied over the runtime 
> file '/opt/vyatta/share/xorp/templates/rl_dhcp.tp' on your router.  
> You will also need to apply the patch in attachment id 239 to the 
> runtime script file '/opt/vyatta/sbin/dhcrelay-starter.pl' to disable 
> another validation check. You will have to reboot the router for the 
> validation checks removals to take effect, so make sure you're running 
> off a disk rather than CDROM, or the changes will be lost.
>
> Hope this works for now,
>
> -- Marat
>
> - Original Message - From: "Sergio Garcia" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, November 14, 2007 4:34 AM
> Subject: [Vyatta-users] DHCP relay in vif interfaces (vc3)
>
>
>> Hi all.
>> I hope you can help me with this doubt :)
>> I want to relay dhcp requests incoming from tree eth1 vif's to a dhcp
>> server but Vyatta VC3 only allows me to select "ethX" interfaces (X goes
>> from 0 to 23).
>>
>> Is it possible to do this? Launching dhcrelay manually is not a good
>> solution, but if it is the only way I will accept.
>>
>> Thanks in advance
>>
>> ___
>> Vyatta-users mailing list
>> Vyatta-users@mailman.vyatta.com
>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>>
>



--
This mail has been sent through DS2 mail server
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay in vif interfaces (vc3)

2007-11-14 Thread Marat Nepomnyashy
Hi Sergio,

There is a limitation in the VC3 release in that only 'ethX' values can be 
specified for DHCP relay interfaces.  This is due to overly stringent 
validation checks.  I just opened a new bug on this:

https://bugzilla.vyatta.com/show_bug.cgi?id=2473


A temporary work-around can be implemented using the attachments just added 
to Bug 2473.

There is the attachment id 238 that should be copied over the runtime file 
'/opt/vyatta/share/xorp/templates/rl_dhcp.tp' on your router.  You will also 
need to apply the patch in attachment id 239 to the runtime script file 
'/opt/vyatta/sbin/dhcrelay-starter.pl' to disable another validation check. 
You will have to reboot the router for the validation checks removals to 
take effect, so make sure you're running off a disk rather than CDROM, or 
the changes will be lost.

Hope this works for now,

-- Marat

- Original Message - 
From: "Sergio Garcia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 14, 2007 4:34 AM
Subject: [Vyatta-users] DHCP relay in vif interfaces (vc3)


> Hi all.
> I hope you can help me with this doubt :)
> I want to relay dhcp requests incoming from tree eth1 vif's to a dhcp
> server but Vyatta VC3 only allows me to select "ethX" interfaces (X goes
> from 0 to 23).
>
> Is it possible to do this? Launching dhcrelay manually is not a good
> solution, but if it is the only way I will accept.
>
> Thanks in advance
>
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
> 

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay

2007-09-10 Thread Troopy .

Hello,

How stupid i am !!!

There was no route back to the client.

Shame on MEE!!! 

I apologize for this. Thanks to take time to help me,  Marat and you.

On Openmaniak.com,
I will sent a mail very soon when the dhcp tutorial is ready.
I already updated the VRRP tutorial with authentification  settings (VC 2 was 
bugged):
http://www.openmaniak.com/vyatta_case5.php

REgards

TRoopy




-- Original Message --
From: "Srinivaas Kamath" <[EMAIL PROTECTED]>
Date:  Mon, 10 Sep 2007 01:15:00 -0700 (PDT)

>
>Hi Troopy,
>
>This may sound a little silly but all the same I thought I might ask the
>question.
>
>Do you have a route on the server for 10.0.1.0/24? If the server doesn't
>know how to get to 10.0.1.0/24 then the reply will never get to the
>client. The server will however show a lease for that Client MAC.
>
>Thanks
>Srinivas
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Troopy .
>Sent: Monday, September 10, 2007 6:04 PM
>To: [EMAIL PROTECTED]; Marat Nepomnyashy
>Cc: vyatta-users@mailman.vyatta.com
>Subject: Re: [Vyatta-users] DHCP relay
>
>
>
>
>Hi marat,
>
>I answered your questions:
>
>Of course, i am using VC 2.2
>
>on the relay
>ps -ef ¦ grep dhcrelay
>/opt/vyatta/bin/dhcrelay -d -i eth0 -i eth1 10.0.2.1
>
>On the server
>
>set interface ethernet eth0 address 10.0.2.1 prefix-length 24 set service
>dhcp-server shared-network-name mmm subnet 10.0.2.0/24 set service
>dhcp-server shared-network-name mmm subnet 10.0.1.0/24 start 10.0.1.200
>stop 10.0.1.222
>
>dhcp.conf file:
>
>ddns-update-style interim;
>
>shared-network mmm {
>subnet 10.0.2.0 netmask 255.255.255.0 {
>not authoritative;
>default-lease-time 86400;
>max-lease-time 86400;
>}
>subnet 10.0.1.0 netmask 255.255.255.0 {
>not authoritative;
>default-lease-time 86400;
>max-lease-time 86400;
>range 10.0.1.200 10.0.1.222;
>}
>}
>
>
>REgards
>
>TRoopy
>
>
>
>-- Original Message --
>From: "Marat Nepomnyashy" <[EMAIL PROTECTED]>
>Date:  Thu, 6 Sep 2007 11:59:27 -0700
>
>>
>>Hi Troopy,
>>
>>Are you using Vyatta Community Edition version 2.2?
>>
>>Please send us your router config file as an attachment.
>>
>>To obtain the router config file, do a 'save myconfig' from xorpsh
>>configure mode, and unless you're using a floppy or a VMWare virtual
>>floppy, the config file will be in '/opt/vyatta/etc/config/myconfig'.
>>If you are using a floppy, then with release 2.2 or older, the config
>>will be in '/mnt/floppy/config/myconfig'.
>>
>>Please also send '/opt/vyatta/etc/dhcpd.conf'
>>
>>Also find out the PID of the 'dhcrelay' process, and send us
>>'/proc/PID/cmdline'
>>
>>
>>Thanks,
>>Marat
>>
>>- Original Message -
>>From: "Troopy ." <[EMAIL PROTECTED]>
>>To: <[EMAIL PROTECTED]>; "Robyn Orosz" <[EMAIL PROTECTED]>;
>><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>>Cc: 
>>Sent: Thursday, September 06, 2007 12:10 AM
>>Subject: Re: [Vyatta-users] DHCP relay
>>
>>
>>
>>Hello,
>>
>>I would say:
>>
>>Everything seems to be okay but it still doesn't work ...
>>
>>REgards
>>
>>Blaise
>>
>>-- Original Message --
>>From: "Troopy ." <[EMAIL PROTECTED]>
>>Reply-To: <[EMAIL PROTECTED]>
>>Date:  Thu,  6 Sep 2007 09:08:56 +0200
>>
>>>
>>>Hello,
>>>
>>>I have additional info:
>>>
>>>When i do a "show dhcp leases" on the dhcp server, it has reserved an
>>>IP address for the client MAC address 
>>>
>>>So everything seems to be okay ...
>>>
>>>TRoopy
>>>
>>>
>>>-- Original Message --
>>>From: "Troopy ." <[EMAIL PROTECTED]>
>>>Reply-To: <[EMAIL PROTECTED]>
>>>Date:  Thu,  6 Sep 2007 08:44:52 +0200
>>>
>>>>
>>>>Hello,
>>>>
>>>>Thanks
>>>>
>>>>It's still doens't work in a the simpliest scenario 
>>>>
>>>>**
>>>>
>>>>Client: (working dhcp client)
>>>>¦
>>>>Link Tested successfully
>>>

Re: [Vyatta-users] DHCP relay

2007-09-10 Thread Troopy .



Hi marat,

I answered your questions:

Of course, i am using VC 2.2

on the relay
ps -ef ¦ grep dhcrelay
/opt/vyatta/bin/dhcrelay -d -i eth0 -i eth1 10.0.2.1

On the server

set interface ethernet eth0 address 10.0.2.1 prefix-length 24
set service dhcp-server shared-network-name mmm subnet 10.0.2.0/24
set service dhcp-server shared-network-name mmm subnet 10.0.1.0/24 start 
10.0.1.200 stop 10.0.1.222

dhcp.conf file:

ddns-update-style interim;

shared-network mmm {
subnet 10.0.2.0 netmask 255.255.255.0 {
not authoritative;
default-lease-time 86400;
max-lease-time 86400;
}
subnet 10.0.1.0 netmask 255.255.255.0 {
not authoritative;
default-lease-time 86400;
max-lease-time 86400;
range 10.0.1.200 10.0.1.222;
}
}


REgards

TRoopy



-- Original Message --
From: "Marat Nepomnyashy" <[EMAIL PROTECTED]>
Date:  Thu, 6 Sep 2007 11:59:27 -0700

>
>Hi Troopy,
>
>Are you using Vyatta Community Edition version 2.2?
>
>Please send us your router config file as an attachment.
>
>To obtain the router config file, do a 'save myconfig' from xorpsh configure 
>mode, and unless you're using a floppy or a VMWare virtual floppy, the 
>config file will be in '/opt/vyatta/etc/config/myconfig'.  If you are using 
>a floppy, then with release 2.2 or older, the config will be in 
>'/mnt/floppy/config/myconfig'.
>
>Please also send '/opt/vyatta/etc/dhcpd.conf'
>
>Also find out the PID of the 'dhcrelay' process, and send us 
>'/proc/PID/cmdline'
>
>
>Thanks,
>Marat
>
>- Original Message - 
>From: "Troopy ." <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; "Robyn Orosz" <[EMAIL PROTECTED]>; 
><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Cc: 
>Sent: Thursday, September 06, 2007 12:10 AM
>Subject: Re: [Vyatta-users] DHCP relay
>
>
>
>Hello,
>
>I would say:
>
>Everything seems to be okay but it still doesn't work ...
>
>REgards
>
>Blaise
>
>-- Original Message --
>From: "Troopy ." <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>Date:  Thu,  6 Sep 2007 09:08:56 +0200
>
>>
>>Hello,
>>
>>I have additional info:
>>
>>When i do a "show dhcp leases" on the dhcp server, it
>>has reserved an IP address for the client MAC address 
>>
>>So everything seems to be okay ...
>>
>>TRoopy
>>
>>
>>-- Original Message --
>>From: "Troopy ." <[EMAIL PROTECTED]>
>>Reply-To: <[EMAIL PROTECTED]>
>>Date:  Thu,  6 Sep 2007 08:44:52 +0200
>>
>>>
>>>Hello,
>>>
>>>Thanks
>>>
>>>It's still doens't work in a the simpliest scenario 
>>>
>>>**
>>>
>>>Client: (working dhcp client)
>>>¦
>>>Link Tested successfully
>>>¦
>>>eth0
>>>DhCP relay
>>>set interface ethernet eth0 address 10.0.1.2 prefix-length 24
>>>set interface ethernet eth1 address 10.0.2.2 prefix-length 24
>>>set service dhcp-relay server 10.0.2.1
>>>set service dhcp-relay interface eth0
>>>set service dhcp-relay interface eth1
>>>eth1
>>>¦
>>>Link Tested successfully
>>>¦
>>>DHCP server (tested successfully when connected directly to the client, 
>>>can ping relay)
>>>set interface ethernet eth0 address 10.0.2.1 prefix-length 24
>>>set service dhcp-server shared-network-name mydhcp subnet 10.0.0.0/8 start 
>>>10.0.1.200 stop 10.0.1.222
>>>
>>>
>>>
>>>**
>>>
>>>The DHCP request reach the server but do no seem to come back 
>>>Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
>>>I hope i made a big mistake
>>>
>>>
>>>Regards
>>>
>>>TRoopy
>>>
>>>
>>>
>>>
>>>-- Original Message --
>>>From: Robyn Orosz <[EMAIL PROTECTED]>
>>>Date:  Wed, 05 Sep 2007 06:17:00 -0700
>>>
>>>>Hi Troopy,
>>>>
>>>>The dhcp-relay must listen on all involved interfaces.  If the DHCP
>>>>server is connected to an interface other than eth0, you'll need to
>>>>configure the 'set service dhcp-relay interface ' on that
>>>>interface as well

Re: [Vyatta-users] DHCP relay

2007-09-10 Thread Srinivaas Kamath
Hi Troopy,

This may sound a little silly but all the same I thought I might ask the
question.

Do you have a route on the server for 10.0.1.0/24? If the server doesn't
know how to get to 10.0.1.0/24 then the reply will never get to the
client. The server will however show a lease for that Client MAC.

Thanks
Srinivas


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Troopy .
Sent: Monday, September 10, 2007 6:04 PM
To: [EMAIL PROTECTED]; Marat Nepomnyashy
Cc: vyatta-users@mailman.vyatta.com
Subject: Re: [Vyatta-users] DHCP relay




Hi marat,

I answered your questions:

Of course, i am using VC 2.2

on the relay
ps -ef ¦ grep dhcrelay
/opt/vyatta/bin/dhcrelay -d -i eth0 -i eth1 10.0.2.1

On the server

set interface ethernet eth0 address 10.0.2.1 prefix-length 24 set service
dhcp-server shared-network-name mmm subnet 10.0.2.0/24 set service
dhcp-server shared-network-name mmm subnet 10.0.1.0/24 start 10.0.1.200
stop 10.0.1.222

dhcp.conf file:

ddns-update-style interim;

shared-network mmm {
subnet 10.0.2.0 netmask 255.255.255.0 {
not authoritative;
default-lease-time 86400;
max-lease-time 86400;
}
subnet 10.0.1.0 netmask 255.255.255.0 {
not authoritative;
default-lease-time 86400;
max-lease-time 86400;
range 10.0.1.200 10.0.1.222;
}
}


REgards

TRoopy



-- Original Message --
From: "Marat Nepomnyashy" <[EMAIL PROTECTED]>
Date:  Thu, 6 Sep 2007 11:59:27 -0700

>
>Hi Troopy,
>
>Are you using Vyatta Community Edition version 2.2?
>
>Please send us your router config file as an attachment.
>
>To obtain the router config file, do a 'save myconfig' from xorpsh
>configure mode, and unless you're using a floppy or a VMWare virtual
>floppy, the config file will be in '/opt/vyatta/etc/config/myconfig'.
>If you are using a floppy, then with release 2.2 or older, the config
>will be in '/mnt/floppy/config/myconfig'.
>
>Please also send '/opt/vyatta/etc/dhcpd.conf'
>
>Also find out the PID of the 'dhcrelay' process, and send us
>'/proc/PID/cmdline'
>
>
>Thanks,
>Marat
>
>- Original Message -
>From: "Troopy ." <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>; "Robyn Orosz" <[EMAIL PROTECTED]>;
><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Cc: 
>Sent: Thursday, September 06, 2007 12:10 AM
>Subject: Re: [Vyatta-users] DHCP relay
>
>
>
>Hello,
>
>I would say:
>
>Everything seems to be okay but it still doesn't work ...
>
>REgards
>
>Blaise
>
>-- Original Message --
>From: "Troopy ." <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>Date:  Thu,  6 Sep 2007 09:08:56 +0200
>
>>
>>Hello,
>>
>>I have additional info:
>>
>>When i do a "show dhcp leases" on the dhcp server, it has reserved an
>>IP address for the client MAC address 
>>
>>So everything seems to be okay ...
>>
>>TRoopy
>>
>>
>>-- Original Message --
>>From: "Troopy ." <[EMAIL PROTECTED]>
>>Reply-To: <[EMAIL PROTECTED]>
>>Date:  Thu,  6 Sep 2007 08:44:52 +0200
>>
>>>
>>>Hello,
>>>
>>>Thanks
>>>
>>>It's still doens't work in a the simpliest scenario 
>>>
>>>**
>>>
>>>Client: (working dhcp client)
>>>¦
>>>Link Tested successfully
>>>¦
>>>eth0
>>>DhCP relay
>>>set interface ethernet eth0 address 10.0.1.2 prefix-length 24 set
>>>interface ethernet eth1 address 10.0.2.2 prefix-length 24 set service
>>>dhcp-relay server 10.0.2.1 set service dhcp-relay interface eth0 set
>>>service dhcp-relay interface eth1
>>>eth1
>>>¦
>>>Link Tested successfully
>>>¦
>>>DHCP server (tested successfully when connected directly to the
>>>client, can ping relay) set interface ethernet eth0 address 10.0.2.1
>>>prefix-length 24 set service dhcp-server shared-network-name mydhcp
>>>subnet 10.0.0.0/8 start 10.0.1.200 stop 10.0.1.222
>>>
>>>
>>>
>>>**
>>>
>>>The DHCP request reach the server but do no seem to come back 
>>>Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
>>>I hope i made a big mistake
>>>
>>>
>>>Regards
>>>
>>>TRoopy
>>>
>>>
>>>

Re: [Vyatta-users] DHCP relay

2007-09-06 Thread Marat Nepomnyashy
Hi Troopy,

Are you using Vyatta Community Edition version 2.2?

Please send us your router config file as an attachment.

To obtain the router config file, do a 'save myconfig' from xorpsh configure 
mode, and unless you're using a floppy or a VMWare virtual floppy, the 
config file will be in '/opt/vyatta/etc/config/myconfig'.  If you are using 
a floppy, then with release 2.2 or older, the config will be in 
'/mnt/floppy/config/myconfig'.

Please also send '/opt/vyatta/etc/dhcpd.conf'

Also find out the PID of the 'dhcrelay' process, and send us 
'/proc/PID/cmdline'


Thanks,
Marat

- Original Message - 
From: "Troopy ." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Robyn Orosz" <[EMAIL PROTECTED]>; 
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, September 06, 2007 12:10 AM
Subject: Re: [Vyatta-users] DHCP relay



Hello,

I would say:

Everything seems to be okay but it still doesn't work ...

REgards

Blaise

-- Original Message --
From: "Troopy ." <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date:  Thu,  6 Sep 2007 09:08:56 +0200

>
>Hello,
>
>I have additional info:
>
>When i do a "show dhcp leases" on the dhcp server, it
>has reserved an IP address for the client MAC address 
>
>So everything seems to be okay ...
>
>TRoopy
>
>
>-- Original Message --
>From: "Troopy ." <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>Date:  Thu,  6 Sep 2007 08:44:52 +0200
>
>>
>>Hello,
>>
>>Thanks
>>
>>It's still doens't work in a the simpliest scenario 
>>
>>**
>>
>>Client: (working dhcp client)
>>¦
>>Link Tested successfully
>>¦
>>eth0
>>DhCP relay
>>set interface ethernet eth0 address 10.0.1.2 prefix-length 24
>>set interface ethernet eth1 address 10.0.2.2 prefix-length 24
>>set service dhcp-relay server 10.0.2.1
>>set service dhcp-relay interface eth0
>>set service dhcp-relay interface eth1
>>eth1
>>¦
>>Link Tested successfully
>>¦
>>DHCP server (tested successfully when connected directly to the client, 
>>can ping relay)
>>set interface ethernet eth0 address 10.0.2.1 prefix-length 24
>>set service dhcp-server shared-network-name mydhcp subnet 10.0.0.0/8 start 
>>10.0.1.200 stop 10.0.1.222
>>
>>
>>
>>**
>>
>>The DHCP request reach the server but do no seem to come back 
>>Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
>>I hope i made a big mistake
>>
>>
>>Regards
>>
>>TRoopy
>>
>>
>>
>>
>>-- Original Message --
>>From: Robyn Orosz <[EMAIL PROTECTED]>
>>Date:  Wed, 05 Sep 2007 06:17:00 -0700
>>
>>>Hi Troopy,
>>>
>>>The dhcp-relay must listen on all involved interfaces.  If the DHCP
>>>server is connected to an interface other than eth0, you'll need to
>>>configure the 'set service dhcp-relay interface ' on that
>>>interface as well.
>>>
>>>Thank you,
>>>
>>>Robyn
>>>
>>>Troopy . wrote:
>>>> Hello,
>>>>
>>>> I made a mistake, i can now see the set service dhcp-server interface 
>>>> ...
>>>>
>>>> so i did the following on the relay:
>>>>
>>>> set service dhcp-relay interface eth0 (connected to the DHCP client)
>>>> set service dhcp-relay server 10.0.1.2 (DHCP server)
>>>>
>>>>
>>>> DHCP server <-> RELAY <-> DHCP client
>>>>
>>>>
>>>> On the server, i see the packet coming:
>>>> TCPdump
>>>>
>>>> relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client
>>>>
>>>> So the request reached the dhcp server but can not go back.
>>>>
>>>> I tried a lot of thing but it does not work for me
>>>>
>>>> Thanks
>>>>
>>>> TRoopy
>>>>
>>>>
>>>>
>>>>
>>>> -- Original Message --
>>>> From: "Troopy ." <[EMAIL PROTECTED]>
>>>> Reply-To: [EMAIL PROTE

Re: [Vyatta-users] DHCP relay

2007-09-06 Thread Troopy .

Hello,

I would say:

Everything seems to be okay but it still doesn't work ...

REgards

Blaise

-- Original Message --
From: "Troopy ." <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date:  Thu,  6 Sep 2007 09:08:56 +0200

>
>Hello,
>
>I have additional info:
>
>When i do a "show dhcp leases" on the dhcp server, it
>has reserved an IP address for the client MAC address 
>
>So everything seems to be okay ...
>
>TRoopy
>
>
>-- Original Message --
>From: "Troopy ." <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>Date:  Thu,  6 Sep 2007 08:44:52 +0200
>
>>
>>Hello,
>>
>>Thanks
>>
>>It's still doens't work in a the simpliest scenario 
>>
>>**
>>
>>Client: (working dhcp client)
>>¦
>>Link Tested successfully
>>¦
>>eth0
>>DhCP relay
>>set interface ethernet eth0 address 10.0.1.2 prefix-length 24
>>set interface ethernet eth1 address 10.0.2.2 prefix-length 24
>>set service dhcp-relay server 10.0.2.1
>>set service dhcp-relay interface eth0
>>set service dhcp-relay interface eth1
>>eth1
>>¦
>>Link Tested successfully
>>¦
>>DHCP server (tested successfully when connected directly to the client, can 
>>ping relay)
>>set interface ethernet eth0 address 10.0.2.1 prefix-length 24
>>set service dhcp-server shared-network-name mydhcp subnet 10.0.0.0/8 start 
>>10.0.1.200 stop 10.0.1.222
>>
>>
>>
>>**
>>
>>The DHCP request reach the server but do no seem to come back 
>>Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
>>I hope i made a big mistake
>>
>>
>>Regards
>>
>>TRoopy
>>
>>
>>
>>
>>-- Original Message --
>>From: Robyn Orosz <[EMAIL PROTECTED]>
>>Date:  Wed, 05 Sep 2007 06:17:00 -0700
>>
>>>Hi Troopy,
>>>
>>>The dhcp-relay must listen on all involved interfaces.  If the DHCP 
>>>server is connected to an interface other than eth0, you'll need to 
>>>configure the 'set service dhcp-relay interface ' on that 
>>>interface as well.
>>>
>>>Thank you,
>>>
>>>Robyn
>>>
>>>Troopy . wrote:
 Hello, 

 I made a mistake, i can now see the set service dhcp-server interface ...

 so i did the following on the relay:

 set service dhcp-relay interface eth0 (connected to the DHCP client)
 set service dhcp-relay server 10.0.1.2 (DHCP server)


 DHCP server <-> RELAY <-> DHCP client


 On the server, i see the packet coming:
 TCPdump

 relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client

 So the request reached the dhcp server but can not go back.

 I tried a lot of thing but it does not work for me

 Thanks

 TRoopy




 -- Original Message --
 From: "Troopy ." <[EMAIL PROTECTED]>
 Reply-To: [EMAIL PROTECTED]
 Date:  Wed,  5 Sep 2007 11:54:39 +0200

   
> Hello,
>
> I am trying now to test the dhcp relay functionnality.
>
> Fist i can say that the "set interface" command at the dhcp-relay level 
> is not available. (It's the case in the doc papers)
>
> Second thing when i try to set a relay, the boops paquets reach the DHCP 
> servers correcty (seen 
> with TCPdump)but the DHCP client don't recieve any IP.
>
> Config on the client:
> set service dhcp-realy server 10.0.2.1
>
> My Vyatta DHCP server is working because when a connect the client 
> directly to the server, the client recieves an IP.
>
> Thanks
>
> Troopy 
>
>
> __
> Désirez vous une adresse éléctronique @suisse.com?
> Visitez la Suisse virtuelle sur http://www.suisse.com
>
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>
> 
  

  
 __
 Désirez vous une adresse éléctronique @suisse.com?
 Visitez la Suisse virtuelle sur http://www.suisse.com

 ___
 Vyatta-users mailing list
 Vyatta-users@mailman.vyatta.com
 http://mailman.vyatta.com/mailman/listinfo/vyatta-users
   
>>>
>>>
>> 
>>
>> 
>>__
>>Désirez vous une adresse éléctronique @suisse.com?
>>Visitez la Suisse virtuelle sur http://www.suisse.com
>>
>>
> 
>
> 
>__
>Désirez vous une adresse éléctronique @suisse.com?
>Visitez la Suisse virtuelle sur http://www.suisse.com
>
>
 

 
__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuell

Re: [Vyatta-users] DHCP relay

2007-09-06 Thread Troopy .

Hello,

I have additional info:

When i do a "show dhcp leases" on the dhcp server, it
has reserved an IP address for the client MAC address 

So everything seems to be okay ...

TRoopy


-- Original Message --
From: "Troopy ." <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date:  Thu,  6 Sep 2007 08:44:52 +0200

>
>Hello,
>
>Thanks
>
>It's still doens't work in a the simpliest scenario 
>
>**
>
>Client: (working dhcp client)
>¦
>Link Tested successfully
>¦
>eth0
>DhCP relay
>set interface ethernet eth0 address 10.0.1.2 prefix-length 24
>set interface ethernet eth1 address 10.0.2.2 prefix-length 24
>set service dhcp-relay server 10.0.2.1
>set service dhcp-relay interface eth0
>set service dhcp-relay interface eth1
>eth1
>¦
>Link Tested successfully
>¦
>DHCP server (tested successfully when connected directly to the client, can 
>ping relay)
>set interface ethernet eth0 address 10.0.2.1 prefix-length 24
>set service dhcp-server shared-network-name mydhcp subnet 10.0.0.0/8 start 
>10.0.1.200 stop 10.0.1.222
>
>
>
>**
>
>The DHCP request reach the server but do no seem to come back 
>Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
>I hope i made a big mistake
>
>
>Regards
>
>TRoopy
>
>
>
>
>-- Original Message --
>From: Robyn Orosz <[EMAIL PROTECTED]>
>Date:  Wed, 05 Sep 2007 06:17:00 -0700
>
>>Hi Troopy,
>>
>>The dhcp-relay must listen on all involved interfaces.  If the DHCP 
>>server is connected to an interface other than eth0, you'll need to 
>>configure the 'set service dhcp-relay interface ' on that 
>>interface as well.
>>
>>Thank you,
>>
>>Robyn
>>
>>Troopy . wrote:
>>> Hello, 
>>>
>>> I made a mistake, i can now see the set service dhcp-server interface ...
>>>
>>> so i did the following on the relay:
>>>
>>> set service dhcp-relay interface eth0 (connected to the DHCP client)
>>> set service dhcp-relay server 10.0.1.2 (DHCP server)
>>>
>>>
>>> DHCP server <-> RELAY <-> DHCP client
>>>
>>>
>>> On the server, i see the packet coming:
>>> TCPdump
>>>
>>> relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client
>>>
>>> So the request reached the dhcp server but can not go back.
>>>
>>> I tried a lot of thing but it does not work for me
>>>
>>> Thanks
>>>
>>> TRoopy
>>>
>>>
>>>
>>>
>>> -- Original Message --
>>> From: "Troopy ." <[EMAIL PROTECTED]>
>>> Reply-To: [EMAIL PROTECTED]
>>> Date:  Wed,  5 Sep 2007 11:54:39 +0200
>>>
>>>   
 Hello,

 I am trying now to test the dhcp relay functionnality.

 Fist i can say that the "set interface" command at the dhcp-relay level is 
 not available. (It's the case in the doc papers)

 Second thing when i try to set a relay, the boops paquets reach the DHCP 
 servers correcty (seen 
 with TCPdump)but the DHCP client don't recieve any IP.

 Config on the client:
 set service dhcp-realy server 10.0.2.1

 My Vyatta DHCP server is working because when a connect the client 
 directly to the server, the client recieves an IP.

 Thanks

 Troopy 


 __
 Désirez vous une adresse éléctronique @suisse.com?
 Visitez la Suisse virtuelle sur http://www.suisse.com

 ___
 Vyatta-users mailing list
 Vyatta-users@mailman.vyatta.com
 http://mailman.vyatta.com/mailman/listinfo/vyatta-users

 
>>>  
>>>
>>>  
>>> __
>>> Désirez vous une adresse éléctronique @suisse.com?
>>> Visitez la Suisse virtuelle sur http://www.suisse.com
>>>
>>> ___
>>> Vyatta-users mailing list
>>> Vyatta-users@mailman.vyatta.com
>>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>>>   
>>
>>
> 
>
> 
>__
>Désirez vous une adresse éléctronique @suisse.com?
>Visitez la Suisse virtuelle sur http://www.suisse.com
>
>
 

 
__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay

2007-09-05 Thread Troopy .

Hello,

Thanks

It's still doens't work in a the simpliest scenario 

**

Client: (working dhcp client)
¦
Link Tested successfully
¦
eth0
DhCP relay
set interface ethernet eth0 address 10.0.1.2 prefix-length 24
set interface ethernet eth1 address 10.0.2.2 prefix-length 24
set service dhcp-relay server 10.0.2.1
set service dhcp-relay interface eth0
set service dhcp-relay interface eth1
eth1
¦
Link Tested successfully
¦
DHCP server (tested successfully when connected directly to the client, can 
ping relay)
set interface ethernet eth0 address 10.0.2.1 prefix-length 24
set service dhcp-server shared-network-name mydhcp subnet 10.0.0.0/8 start 
10.0.1.200 stop 10.0.1.222



**

The DHCP request reach the server but do no seem to come back 
Has anyone tested the VC 2.2 dhcp-relay fonctionnality successfully?
I hope i made a big mistake


Regards

TRoopy




-- Original Message --
From: Robyn Orosz <[EMAIL PROTECTED]>
Date:  Wed, 05 Sep 2007 06:17:00 -0700

>Hi Troopy,
>
>The dhcp-relay must listen on all involved interfaces.  If the DHCP 
>server is connected to an interface other than eth0, you'll need to 
>configure the 'set service dhcp-relay interface ' on that 
>interface as well.
>
>Thank you,
>
>Robyn
>
>Troopy . wrote:
>> Hello, 
>>
>> I made a mistake, i can now see the set service dhcp-server interface ...
>>
>> so i did the following on the relay:
>>
>> set service dhcp-relay interface eth0 (connected to the DHCP client)
>> set service dhcp-relay server 10.0.1.2 (DHCP server)
>>
>>
>> DHCP server <-> RELAY <-> DHCP client
>>
>>
>> On the server, i see the packet coming:
>> TCPdump
>>
>> relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client
>>
>> So the request reached the dhcp server but can not go back.
>>
>> I tried a lot of thing but it does not work for me
>>
>> Thanks
>>
>> TRoopy
>>
>>
>>
>>
>> -- Original Message --
>> From: "Troopy ." <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Date:  Wed,  5 Sep 2007 11:54:39 +0200
>>
>>   
>>> Hello,
>>>
>>> I am trying now to test the dhcp relay functionnality.
>>>
>>> Fist i can say that the "set interface" command at the dhcp-relay level is 
>>> not available. (It's the case in the doc papers)
>>>
>>> Second thing when i try to set a relay, the boops paquets reach the DHCP 
>>> servers correcty (seen 
>>> with TCPdump)but the DHCP client don't recieve any IP.
>>>
>>> Config on the client:
>>> set service dhcp-realy server 10.0.2.1
>>>
>>> My Vyatta DHCP server is working because when a connect the client directly 
>>> to the server, the client recieves an IP.
>>>
>>> Thanks
>>>
>>> Troopy 
>>>
>>>
>>> __
>>> Désirez vous une adresse éléctronique @suisse.com?
>>> Visitez la Suisse virtuelle sur http://www.suisse.com
>>>
>>> ___
>>> Vyatta-users mailing list
>>> Vyatta-users@mailman.vyatta.com
>>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>>>
>>> 
>>  
>>
>>  
>> __
>> Désirez vous une adresse éléctronique @suisse.com?
>> Visitez la Suisse virtuelle sur http://www.suisse.com
>>
>> ___
>> Vyatta-users mailing list
>> Vyatta-users@mailman.vyatta.com
>> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>>   
>
>
 

 
__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay

2007-09-05 Thread Robyn Orosz

Hi Troopy,

The dhcp-relay must listen on all involved interfaces.  If the DHCP 
server is connected to an interface other than eth0, you'll need to 
configure the 'set service dhcp-relay interface ' on that 
interface as well.


Thank you,

Robyn

Troopy . wrote:
Hello, 


I made a mistake, i can now see the set service dhcp-server interface ...

so i did the following on the relay:

set service dhcp-relay interface eth0 (connected to the DHCP client)
set service dhcp-relay server 10.0.1.2 (DHCP server)


DHCP server <-> RELAY <-> DHCP client


On the server, i see the packet coming:
TCPdump

relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client

So the request reached the dhcp server but can not go back.

I tried a lot of thing but it does not work for me

Thanks

TRoopy




-- Original Message --
From: "Troopy ." <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed,  5 Sep 2007 11:54:39 +0200

  

Hello,

I am trying now to test the dhcp relay functionnality.

Fist i can say that the "set interface" command at the dhcp-relay level is not 
available. (It's the case in the doc papers)

Second thing when i try to set a relay, the boops paquets reach the DHCP servers correcty (seen 
with TCPdump)but the DHCP client don't recieve any IP.


Config on the client:
set service dhcp-realy server 10.0.2.1

My Vyatta DHCP server is working because when a connect the client directly to 
the server, the client recieves an IP.

Thanks

Troopy 



__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


 

 
__

Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users
  
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP relay

2007-09-05 Thread Troopy .


Hello, 

I made a mistake, i can now see the set service dhcp-server interface ...

so i did the following on the relay:

set service dhcp-relay interface eth0 (connected to the DHCP client)
set service dhcp-relay server 10.0.1.2 (DHCP server)


DHCP server <-> RELAY <-> DHCP client


On the server, i see the packet coming:
TCPdump

relay.67 > server.67: BOOTP/DHCP, Request from MAC_DHCP_client

So the request reached the dhcp server but can not go back.

I tried a lot of thing but it does not work for me

Thanks

TRoopy




-- Original Message --
From: "Troopy ." <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date:  Wed,  5 Sep 2007 11:54:39 +0200

>
>
>Hello,
>
>I am trying now to test the dhcp relay functionnality.
>
>Fist i can say that the "set interface" command at the dhcp-relay level is not 
>available. (It's the case in the doc papers)
>
>Second thing when i try to set a relay, the boops paquets reach the DHCP 
>servers correcty (seen 
> with TCPdump)but the DHCP client don't recieve any IP.
>
>Config on the client:
>set service dhcp-realy server 10.0.2.1
>
>My Vyatta DHCP server is working because when a connect the client directly to 
>the server, the client recieves an IP.
>
>Thanks
>
>Troopy 
>
> 
>__
>Désirez vous une adresse éléctronique @suisse.com?
>Visitez la Suisse virtuelle sur http://www.suisse.com
>
>___
>Vyatta-users mailing list
>Vyatta-users@mailman.vyatta.com
>http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>
 

 
__
Désirez vous une adresse éléctronique @suisse.com?
Visitez la Suisse virtuelle sur http://www.suisse.com

___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users


Re: [Vyatta-users] DHCP Relay using Vyatta...

2007-08-22 Thread Robyn Orosz
Hi Paco,

Without seeing your actual configuration, it's difficult to tell what 
the issue is.  It's possible however, that you're missing a subnet 
definition for the 170.10.10.x/x network under your DHCP server 
configuration on Vyatta1.  The subnet declaration for that network will 
tell the DHCP server to listen on interface eth1 which is where the DHCP 
requests from Vyatta2 are being sent.

On Vyatta1, you would configure this as follows:

[EMAIL PROTECTED] set service dhcp-server shared-network-name 
 subnet 170.10.10.x/x
[edit]

The server should still only serve addresses on the 10.10.10.0/24 
network since you wont define an address pool for the 170.10.10.x/x network.

If this doesn't work for you, you should post your configuration for 
both routers so we can more clearly tell what the issue might be.

Thank you,

Robyn

Paco Alcantara wrote:
>  
> Hi,
>
> I'm trying to set up the following environment using Vyatta:
>  
>
> PC1 (DHCP client)
> |
> (10.10.10.100 , eth0)
> Vyatta1 (DHCP Server)
> (170.10.10.100 ,eth1)
> |
> (170.10.10.200 ,eth0)
> Vyatta2 (DHCP Relay)
> (192.168.1.100 ,eth1)
> |
> PC2 (DHCP client)
>
> I am working with Community edition 2.2 beta.
>  
> I have alredy created DHCP Server at Vyatta1 for PC1 subnet 
> (10.10.10.0/24 ). Everything worked properly..
>  
> The problem is that I wanted the server to assign addresses to PC2. I 
> have configure Vyatta2 to relay and the proper configuration in 
> Vyatta1 to serve the addresses.
> I have seen Discover messages arriving properly to the server 
> (Vyatta1) but no answer exist for the DISCOVER.
>  
> I have thought it could be that the server can only serve addresses to 
> subnets that are directly connected to the interfaces. But, in this 
> case, it could not be possible to create the structure I am using 
> because the subnet on PC2 ( 192.168.1.0/24 ) is 
> not directly connected to to server.
>  
> Any help??
>  
> Thanks a lot
> Paco.
>  
> 
>
> ___
> Vyatta-users mailing list
> Vyatta-users@mailman.vyatta.com
> http://mailman.vyatta.com/mailman/listinfo/vyatta-users
>   
___
Vyatta-users mailing list
Vyatta-users@mailman.vyatta.com
http://mailman.vyatta.com/mailman/listinfo/vyatta-users