Re: dhcrelay

2019-08-30 Thread Joe Cook
Hi, You will find the answer in the second paragraph of the description for the dhcrelay(8) manpage. It's fantastic that we don't even need the internet to find the answer. Happy reading. Joe On 30/08/2019 8:21 AM, shadrock uhuru wrote: hiya thanks for the reply hi eveyone i

Re: dhcrelay

2019-08-29 Thread shadrock uhuru
hiya thanks for the reply > hi eveyone > if i have a dhcp server in subnet A connected to interface em0 (lan) and > subnet B connected to interface iwn0 (wireless zone) on the router > with dhcrelay -i em0 running on the router should the wireless subnet be > able?? to get its dh

Re: Re :dhcrelay

2019-08-28 Thread Sebastian Benoit
dhcp server in subnet A connected to interface em0 (lan) and > >> subnet B connected to interface iwn0 (wireless zone) on the router > >> with dhcrelay -i em0 running on the router should the wireless subnet be > >> able?? to get its dhcp address from the dhcp server on t

Re :dhcrelay

2019-08-25 Thread shadrock uhuru
> To: > shadrock uhuru > CC: > misc@openbsd.org > > > shadrock uhuru(niyal...@gmail.com) on 2019.08.23 18:46:32 +0100: >> hi eveyone >> if i have a dhcp server in subnet A connected to interface em0 (lan) and >> subnet B connected to interface iwn0 (wirele

Re: dhcrelay

2019-08-23 Thread Sebastian Benoit
shadrock uhuru(niyal...@gmail.com) on 2019.08.23 18:46:32 +0100: > hi eveyone > if i have a dhcp server in subnet A connected to interface em0 (lan) and > subnet B connected to interface iwn0 (wireless zone) on the router > with dhcrelay -i em0 running on the router should the wirele

dhcrelay

2019-08-23 Thread shadrock uhuru
hi eveyone if i have a dhcp server in subnet A connected to interface em0 (lan) and subnet B connected to interface iwn0 (wireless zone) on the router with dhcrelay -i em0 running on the router should the wireless subnet be able  to get its dhcp address from the dhcp server on the lan ?

Re: dhcrelay multiple instances possible bug

2019-03-04 Thread David Gwynne
Hi Riccardo, dhrelay only operates on a single interface, so you're not missing anything there. Can you show me the ps output for the dhcrelay processes you start? The rcctl commands you show below don't include the rcctl start dhcrelay and dhcrelay_second bits. I have the fo

dhcrelay multiple instances possible bug

2019-03-04 Thread Riccardo Giuntoli
Hi there, many years that i don't use this ml. I'm Riccardo writing from Spain, nice to meet you guys. First of all, many compliments for the exceptional hard work that you've done in the OpenBSD development. Just, thank you. Next a possible bug: In the OpenBSD dhcrelay(8) i

Re: dhcrelay between rdomains

2018-06-15 Thread Philipp Buehler
Am 15.06.2018 10:27 schrieb Holger Glaess: ist see the forwarded bootreqest from dhcrelay but it is not possible , for me , to shift this reqest to an other rdom . just lift the outgoing (directed) request from dhcrelay with pf? -- pb

dhcrelay between rdomains

2018-06-15 Thread Holger Glaess
hi how can i forward the bootrequest from dhcrelay that listen in rdom 5 , example , to rdom 0 where my dhcpd server listen ? ist see the forwarded bootreqest from dhcrelay but it is not possible , for me , to shift this reqest to an other rdom . holger

Re: dhcrelay broken after Apr 5

2017-07-05 Thread Reyk Floeter
try again with the attached diff? It doesn't change >>>> behavior but it adds some chatty logging when a packet is rejected. >>>> Maybe it helps to find the issue. >>>> >>>> Reyk >>> >>> I've send the bug report as detail

Re: dhcrelay broken after Apr 5

2017-07-05 Thread Kapetanakis Giannis
ty logging when a packet is rejected. >>> Maybe it helps to find the issue. >>> >>> Reyk >> >> I've send the bug report as detailed as I could. >> > > Thanks, now it is a good bug report and I think it helps to find the issue > with carp+

Re: dhcrelay broken after Apr 5

2017-07-05 Thread Reyk Floeter
nd the issue. >> >> Reyk > > I've send the bug report as detailed as I could. > Thanks, now it is a good bug report and I think it helps to find the issue with carp+dhcrelay. You had a typo in the email subject ;-) > In a few words, applying your diff gave m

Re: dhcrelay broken after Apr 5

2017-07-05 Thread Kapetanakis Giannis
In a few words, applying your diff gave me these: Jul 5 11:53:09 dhcrelay[68565]: decode_hw_header:229: invalid htype 0 Jul 5 11:53:09 dhcrelay[68565]: receive_packet:457: decode_hw_header failed, len 364 Jul 5 11:53:10 dhcrelay[68565]: decode_hw_header:229: invalid htype 0 Jul 5 11:53:10 dhcrel

Re: dhcrelay broken after Apr 5

2017-07-05 Thread Kapetanakis Giannis
d does not produce any messages. Also I'm not sure how to reproduce it. It just happened after the upgrade and it happens in a random way... Not all users and not on all vlans. I will try the patch and send a report to @bugs G > Index: usr.sbin/dhcrelay/bpf.c > ==

Re: dhcrelay broken after Apr 5

2017-07-04 Thread Reyk Floeter
Hi, On Tue, Jul 04, 2017 at 02:41:30PM +0300, Kapetanakis Giannis wrote: > Hi, > > Just upgraded a set of my firewalls that also do dhcrelay to -current. > > The program stopped working ok. Some dhcp requests where being forwarded some > not. > > tcpdump was showing

dhcrelay broken after Apr 5

2017-07-04 Thread Kapetanakis Giannis
Hi, Just upgraded a set of my firewalls that also do dhcrelay to -current. The program stopped working ok. Some dhcp requests where being forwarded some not. tcpdump was showing the request on internal interface but I couldn't see the request being forwarded on the external interface

Re: rdomain and dhcrelay

2016-05-09 Thread Holger Glaess
> Am 05/09/16 um 08:20 schrieb Holger Glaess: >> hi >> >> is there an possiblity to forward dhcp request from >> an rdomain X to the runing dhcp server in rdomain 0 ? >> >> >> if i start the dhcrelay -i em1 192.168.131.250, >> >> i s

Re: rdomain and dhcrelay

2016-05-09 Thread Marc Peters
Am 05/09/16 um 08:20 schrieb Holger Glaess: > hi > > is there an possiblity to forward dhcp request from > an rdomain X to the runing dhcp server in rdomain 0 ? > > > if i start the dhcrelay -i em1 192.168.131.250, > > i see that he forward the request but never

rdomain and dhcrelay

2016-05-08 Thread Holger Glaess
hi is there an possiblity to forward dhcp request from an rdomain X to the runing dhcp server in rdomain 0 ? if i start the dhcrelay -i em1 192.168.131.250, i see that he forward the request but never reach the server. the clients in rdoamin 0 works with the dhcp server. or it is need to

Re: dhcrelay: send_packet: No buffer space available

2016-02-20 Thread Kapetanakis Giannis
ckup firewall I just noticed relevant? messages but on different times and no other sign that it became the MASTER. Feb 9 12:58:54 backup_fw2 dhcrelay: send_packet: Network is unreachable Feb 9 16:41:58 backup_fw2 dhcrelay: send_packet: Network is unreachable Feb 11 10:16:37 backup_fw2 dhcrel

Re: dhcrelay: send_packet: No buffer space available

2016-02-20 Thread Stuart Henderson
On 2016-02-18, Kapetanakis Giannis wrote: > On 12/02/16 18:56, Stuart Henderson wrote: >> On 2016-02-12, Kapetanakis Giannis wrote: >>> Hi, >>> >>> I have a carped firewall which is using dhcrelay to forward dhcp >>> requests to another carped dhcp

Re: dhcrelay: send_packet: No buffer space available

2016-02-19 Thread Kapetanakis Giannis
On 18/02/16 15:52, Kapetanakis Giannis wrote: On 18/02/16 13:22, Peter Hessler wrote: How many bpf devices do you have? You may need to create more. I have 20 bpf devices, 27 vlan interfaces, 27 carp interfaces, 17 dhcrelay processes. wasn't there a message when bpf devides were

Re: dhcrelay: send_packet: No buffer space available

2016-02-18 Thread Kapetanakis Giannis
On 18/02/16 13:22, Peter Hessler wrote: On 2016 Feb 18 (Thu) at 12:25:07 +0200 (+0200), Kapetanakis Giannis wrote: :On 12/02/16 18:56, Stuart Henderson wrote: :>On 2016-02-12, Kapetanakis Giannis wrote: :>>Hi, :>> :>>I have a carped firewall which is using dhcrelay to for

Re: dhcrelay: send_packet: No buffer space available

2016-02-18 Thread Peter Hessler
On 2016 Feb 18 (Thu) at 12:25:07 +0200 (+0200), Kapetanakis Giannis wrote: :On 12/02/16 18:56, Stuart Henderson wrote: :>On 2016-02-12, Kapetanakis Giannis wrote: :>>Hi, :>> :>>I have a carped firewall which is using dhcrelay to forward dhcp :>>requests to another c

Re: dhcrelay: send_packet: No buffer space available

2016-02-18 Thread Kapetanakis Giannis
On 12/02/16 18:56, Stuart Henderson wrote: On 2016-02-12, Kapetanakis Giannis wrote: Hi, I have a carped firewall which is using dhcrelay to forward dhcp requests to another carped dhcp server. After upgrade to Feb 4 snapshot I'm seeing these in my logs: What version were you running b

Re: dhcrelay: send_packet: No buffer space available

2016-02-14 Thread Stuart Henderson
On 2016-02-13, Kapetanakis Giannis wrote: > On 12/02/16 18:56, Stuart Henderson wrote: >> On 2016-02-12, Kapetanakis Giannis wrote: >>> Hi, >>> >>> I have a carped firewall which is using dhcrelay to forward dhcp >>> requests to another carped dhcp

Re: dhcrelay: send_packet: No buffer space available

2016-02-13 Thread Kapetanakis Giannis
On 12/02/16 18:56, Stuart Henderson wrote: On 2016-02-12, Kapetanakis Giannis wrote: Hi, I have a carped firewall which is using dhcrelay to forward dhcp requests to another carped dhcp server. After upgrade to Feb 4 snapshot I'm seeing these in my logs: What version were you running b

Re: dhcrelay: send_packet: No buffer space available

2016-02-12 Thread Stuart Henderson
On 2016-02-12, Kapetanakis Giannis wrote: > Hi, > > I have a carped firewall which is using dhcrelay to forward dhcp > requests to another carped dhcp server. > After upgrade to Feb 4 snapshot I'm seeing these in my logs: What version were you running before? To esta

Re: dhcrelay: send_packet: No buffer space available

2016-02-12 Thread Peter N. M. Hansteen
On 02/12/16 12:15, Kapetanakis Giannis wrote: I have a carped firewall which is using dhcrelay to forward dhcp requests to another carped dhcp server. After upgrade to Feb 4 snapshot I'm seeing these in my logs: Feb 8 21:00:04 dhcrelay: send_packet: No buffer space available Feb 9 16:

dhcrelay: send_packet: No buffer space available

2016-02-12 Thread Kapetanakis Giannis
Hi, I have a carped firewall which is using dhcrelay to forward dhcp requests to another carped dhcp server. After upgrade to Feb 4 snapshot I'm seeing these in my logs: Feb 8 21:00:04 dhcrelay: send_packet: No buffer space available Feb 9 16:47:02 dhcrelay: send_packet: No buffer

Re: dhcrelay Can't find free bpf: No such file or directory

2013-01-08 Thread Loïc BLOT
hagen a écrit : > Am 08.01.2013 19:48, schrieb Janne Johansson: > > cd /dev > > for i in $(jot 20 10); do ./MAKEDEV bpf${i} ; done > > to make 20 more bpfs. Each tcpdump and dhcrelay will want one of their > > own so you may need more dev-entries. > Thank you, this did t

Re: dhcrelay Can't find free bpf: No such file or directory

2013-01-08 Thread Kenneth R Westerback
On Tue, Jan 08, 2013 at 06:37:45PM +0100, Ulrich Drolshagen wrote: > Hi, > > I am running an openbsd router attached to several vlans. On one of > them there is running a box with an isc-dhcp server. > For one of the vlans I have started a dhcrelay to forward the dhcp >

Re: dhcrelay Can't find free bpf: No such file or directory

2013-01-08 Thread Ulrich Drolshagen
Am 08.01.2013 19:48, schrieb Janne Johansson: cd /dev for i in $(jot 20 10); do ./MAKEDEV bpf${i} ; done to make 20 more bpfs. Each tcpdump and dhcrelay will want one of their own so you may need more dev-entries. Thank you, this did the trick. I really didn't know what "bpf"

Re: dhcrelay Can't find free bpf: No such file or directory

2013-01-08 Thread Janne Johansson
cd /dev for i in $(jot 20 10); do ./MAKEDEV bpf${i} ; done to make 20 more bpfs. Each tcpdump and dhcrelay will want one of their own so you may need more dev-entries. 2013/1/8 Ulrich Drolshagen : > Hi, > > I am running an openbsd router attached to several vlans. On one of them &

dhcrelay Can't find free bpf: No such file or directory

2013-01-08 Thread Ulrich Drolshagen
Hi, I am running an openbsd router attached to several vlans. On one of them there is running a box with an isc-dhcp server. For one of the vlans I have started a dhcrelay to forward the dhcp broadcasts of the respective subnet to the server dhcrelay -i vlan5 172.16.1.4 This is working

Re: dhcrelay and rc.d in OpenBSD 5.0

2011-11-10 Thread Stuart Henderson
On 2011-11-09, Antoine Jacoutot wrote: > On Wed, Nov 09, 2011 at 05:36:54PM +0100, Comhte wrote: >> Hi, >> >> In 4.9, i used to start dhcrelay using /etc/rc.local like this: >> >> /usr/sbin/dhcrelay -i vlan2 10.0.45.11 >> /usr/sbin/dhcrelay -i vlan5 10

Re: dhcrelay and rc.d in OpenBSD 5.0

2011-11-09 Thread Comète
On Wed, Nov 09, 2011 at 05:36:54PM +0100, Comhte wrote: Hi, In 4.9, i used to start dhcrelay using /etc/rc.local like this: /usr/sbin/dhcrelay -i vlan2 10.0.45.11 /usr/sbin/dhcrelay -i vlan5 10.0.45.11 /usr/sbin/dhcrelay -i vlan7 10.0.45.11 /usr/sbin/dhcrelay -i vlan100 10.11.1.8 10.22.1.8

Re: dhcrelay and rc.d in OpenBSD 5.0

2011-11-09 Thread LEFIEUX Morgan
On Wed, Nov 09, 2011 at 05:36:54PM +0100, Comhte wrote: Hi, In 4.9, i used to start dhcrelay using /etc/rc.local like this: /usr/sbin/dhcrelay -i vlan2 10.0.45.11 /usr/sbin/dhcrelay -i vlan5 10.0.45.11 /usr/sbin/dhcrelay -i vlan7 10.0.45.11 /usr/sbin/dhcrelay -i vlan100 10.11.1.8 10.22.1.8

Re: dhcrelay and rc.d in OpenBSD 5.0

2011-11-09 Thread Antoine Jacoutot
On Wed, Nov 09, 2011 at 05:36:54PM +0100, Comhte wrote: > Hi, > > In 4.9, i used to start dhcrelay using /etc/rc.local like this: > > /usr/sbin/dhcrelay -i vlan2 10.0.45.11 > /usr/sbin/dhcrelay -i vlan5 10.0.45.11 > /usr/sbin/dhcrelay -i vlan7 10.0.45.11 > /usr/sbin/dhcre

dhcrelay and rc.d in OpenBSD 5.0

2011-11-09 Thread Comète
Hi, In 4.9, i used to start dhcrelay using /etc/rc.local like this: /usr/sbin/dhcrelay -i vlan2 10.0.45.11 /usr/sbin/dhcrelay -i vlan5 10.0.45.11 /usr/sbin/dhcrelay -i vlan7 10.0.45.11 /usr/sbin/dhcrelay -i vlan100 10.11.1.8 10.22.1.8 /usr/sbin/dhcrelay -i vlan101 10.11.1.8 10.22.1.8 but now

Re: VPN Gateway, DHCP over IPSec, dhcrelay on enc0?

2010-06-03 Thread dontek
2010/5/23 Martin Pelikan : > 2010/5/22, Don Reis : >> I have the idea that to make DHCP work over IPSec on my VPN gateway, I have >> to make dhcpd listen on lo0, and then have dhcrelay listen on enc0 and relay >> to lo0. (dhcpd runs on same machine) >> >> Why do

Re: VPN Gateway, DHCP over IPSec, dhcrelay on enc0?

2010-05-23 Thread Martin Pelikán
2010/5/22, Don Reis : > I have the idea that to make DHCP work over IPSec on my VPN gateway, I have > to make dhcpd listen on lo0, and then have dhcrelay listen on enc0 and relay > to lo0. (dhcpd runs on same machine) > > Why doesn't dhcrelay find enc0? And Is this the pro

VPN Gateway, DHCP over IPSec, dhcrelay on enc0?

2010-05-22 Thread Don Reis
I have the idea that to make DHCP work over IPSec on my VPN gateway, I have to make dhcpd listen on lo0, and then have dhcrelay listen on enc0 and relay to lo0. (dhcpd runs on same machine) It seems from the dhcrelay man page that this is possible and that the -o switch is even enabled by

dhcrelay barfing on reboot

2010-01-05 Thread Steven M. Caesare
Running 4.6-stable: $ dmesg OpenBSD 4.6-stable (GENERIC) #0: Wed Nov 25 08:10:07 EST 2009 ... Attempting to enable dhcrelay to run via rc.conf.local is barfing. Specifically running the daemon interactively seems happy: $ sudo dhcrelay -i fxp3 192.168.100.6 $ $ ps -ax | grep

dhcrelay barfing on startup via rc

2010-01-04 Thread Steven M. Caesare
Attempting to enable dhcrelay to run via rc.conf.local is barfing. Specifically running the daemon interactively seems happy: $ sudo dhcrelay -i fxp3 192.168.100.6 $ $ ps -ax | grep dhcrelay 31341 ?? Is 0:00.00 dhcrelay -i fxp3 192.168.100.6 $ Subsequently, my DHCP server now

dhcrelay problem

2008-12-04 Thread farhan ahmed
ckage), but haven't had any success.. used:dhcrelay -i em1 10.110.218.34 Dec 05 17:32:28.096531 rule 94/(match) pass out on em0: 10.108.192.4 > 10.110.218.34: icmp: 10.108.192.4 udp port 67 unreachable Dec 05 17:32:36.991689 rule 94/(match) pass in on em0: 10.110.218.34.67 > 10.10

dhcrelay question

2008-06-05 Thread Christopher Sean Hilton
, one in the DMZ and one on the protected network. I'd like to run dhcrelay on the bridge and add some sort of token to dhcp requests coming from the DMZ (From new and test servers) so I a can differentiate them from dhcp requests on the protected network. Basically I'd like to han

Re: dhcrelay on carp interface (above vlan)

2008-03-14 Thread Falk Brockerhoff - smartTERRA GmbH
Am 14.03.2008 um 08:13 schrieb Marc Balmer: Falk Brockerhoff - smartTERRA GmbH wrote: I think a good solutions is to look if the given interface is a carp interface and to figure out the carpdev interface. Then this can be used to listen on. But my programming skills are really poor, else

Re: dhcrelay on carp interface (above vlan)

2008-03-13 Thread Falk Brockerhoff - smartTERRA GmbH
Hi, I think a good solutions is to look if the given interface is a carp interface and to figure out the carpdev interface. Then this can be used to listen on. But my programming skills are really poor, else I would provide a patch... Regards, Falk

dhcrelay on carp interface (above vlan)

2008-03-13 Thread Falk Brockerhoff - smartTERRA GmbH
e bit annoying to configure the switch port's vlan each time I want to use PXE boot. That's why I like to use dhcrelay on the firewall. But, there is a problem: dhcrelay can only be started on a numbered interface - as expected. Here this is the carp-interface. But the dhcp/ bootp re

Re: More then 1 dhcrelay process on 1 router

2008-03-06 Thread Clint Pachl
Guido Tschakert wrote: Hello folks short: will 2 (or more) dhcrelay work on one router without problems long: I have a router connected to 3 networks: a.b.1.0/24 connected to if1, a.b.2.0/24 connceted to if2, a.b.3.0/24 connected to if3. Lets say I have a dhcpd on a.b.1.1 Is it possible to

Re: More then 1 dhcrelay process on 1 router

2008-03-06 Thread Guido Tschakert
Guido Tschakert schrieb: > Hello folks > > short: > will 2 (or more) dhcrelay work on one router without problems > > long: > I have a router connected to 3 networks: > a.b.1.0/24 connected to if1, > a.b.2.0/24 connceted to if2, > a.b.3.0/24 connected to if3. >

More then 1 dhcrelay process on 1 router

2008-03-06 Thread Guido Tschakert
Hello folks short: will 2 (or more) dhcrelay work on one router without problems long: I have a router connected to 3 networks: a.b.1.0/24 connected to if1, a.b.2.0/24 connceted to if2, a.b.3.0/24 connected to if3. Lets say I have a dhcpd on a.b.1.1 Is it possible to start the two dhcrelay