Re: [j-nsp] DHCP SERVER in m7i

2015-11-09 Thread Chad Myers
There was a version of Junos where the dhcp server simply wouldn't work on a 
M7i.  Digging into traceoptions found that it was because it was trying to 
synchronize with the dhcp process on the backup routing engine to determine who 
should be active.  Minor detail that the M7i can't have a second RE was 
overlooked so the dhcp server never went active.

I don't remember the specific code version I was running at the time, but I 
think it was something in 11.4 or 12.1.

-Chad

-Original Message-
From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of 
Sebastian Bermeo
Sent: Monday, November 09, 2015 3:48 PM
To: juniper-nsp@puck.nether.net
Subject: [j-nsp] DHCP SERVER in m7i

Hi

I was trying  to configure a dhcp server in a m7i, something like this:

set interfaces ge-0/0/0 unit 7 description visits
set interfaces ge-0/0/0 unit 7 vlan-id 7
set interfaces ge-0/0/0 unit 7 family inet address 192.168.7.1/24
set interfaces ge-0/0/0 unit 7 family iso

set system services dhcp-local-server group dhcp-visitas interface
ge-0/0/0.7
set access address-assignment pool pool-visitas family inet
set access address-assignment pool pool-visitas family inet network
192.168.7.0/24
set access address-assignment pool pool-visitas family inet dhcp-attributes
name-server 192.168.1.3

Its correct this configuration?

In addicion in this range of address, I need to start the first
dhcp-address in 192.168.7.64 and end in 192.168.7.254, exists a sentence
may I use to configure this?

I use JUNOS OS 11.4R7.5.

Thanks for any answer.

Regards.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



This message may contain confidential information and is intended for specific 
recipients unless explicitly noted otherwise. If you have reason to believe you 
are not an intended recipient of this message, please delete it and notify the 
sender. This message may not represent the opinion of Intercontinental 
Exchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a 
contract or guarantee. Unencrypted electronic mail is not secure and the 
recipient of this message is expected to provide safeguards from viruses and 
pursue alternate means of communication where privacy or a binding message is 
desired.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


[j-nsp] DHCP SERVER in m7i

2015-11-09 Thread Sebastian Bermeo
Hi

I was trying  to configure a dhcp server in a m7i, something like this:

set interfaces ge-0/0/0 unit 7 description visits
set interfaces ge-0/0/0 unit 7 vlan-id 7
set interfaces ge-0/0/0 unit 7 family inet address 192.168.7.1/24
set interfaces ge-0/0/0 unit 7 family iso

set system services dhcp-local-server group dhcp-visitas interface
ge-0/0/0.7
set access address-assignment pool pool-visitas family inet
set access address-assignment pool pool-visitas family inet network
192.168.7.0/24
set access address-assignment pool pool-visitas family inet dhcp-attributes
name-server 192.168.1.3

Its correct this configuration?

In addicion in this range of address, I need to start the first
dhcp-address in 192.168.7.64 and end in 192.168.7.254, exists a sentence
may I use to configure this?

I use JUNOS OS 11.4R7.5.

Thanks for any answer.

Regards.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] DHCP SERVER in m7i

2015-11-09 Thread sthaug
> I was trying  to configure a dhcp server in a m7i, something like this:

Please note that this is only supported on MX. You may be able to get
it to work on M7i, but no guarantees.

The only thing DHCP related which is supported on M7i is bootp helper.

Steinar Haug, Nethelp consulting, sth...@nethelp.no
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] Multi Core on JUNOS?

2015-11-09 Thread Chad Myers
Since I rekindled this once already...

I don't get what the benefit of "load  interactive" would be over just 
doing normal set commands.  Putting everything on a single line with inline 
comments like that seems like a recipe for headaches.  Each time I look at it I 
have to go back over it again 2-3 times to make sense of what is a comment, 
what is a setting, and how they actually link together.  Could just be me 
having a hard time grasping it quickly.

On a related note, this reminded me of something in the behavior of "load 
terminal" that bit me once and I'm wondering if it bit anyone else.  When using 
load merge terminal, and likely replace and override as well, if you break out 
using ctrl-C to abort the load instead of ctrl-D to save it,  it doesn't 
actually abort the load.  Anything that parsed successfully up to that point is 
now part of the candidate configuration, exactly the same as if you used ctrl-D 
to exit "load terminal" normally.  Anyone else learn that unexpectedly?

-Chad

-Original Message-
From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of 
Stepan Kucherenko
Sent: Saturday, October 24, 2015 3:23 PM
To: Phil Shafer
Cc: juniper-nsp@puck.nether.net
Subject: Re: [j-nsp] Multi Core on JUNOS?

> This would allow set-ish style (since the UI really doesn't need the
> braces on input) as well as allowing the placement of comments:
>
> [edit]
> cli# load terminal merge interactive
> [Type ^D at a new line to end input]
> protocols bgp /* foo is cool */ group foo /* local-as is also */ local-as 42;
> /* You can also put braces here */
> protocols {
> bgp {
>/* goo is not */
>group goo { local-as 51; }}}
> ^D
> load complete
>

Is it possible to delete last line(s) ? If yes then this way of
configuring something will become the only one I will use all the time. :-)

I think it's great.

>
> But I need to work out what (and how) would get redrawn when you
> type "?" deep under braces (like at the "51" above).  I can't emit
> the [edit] line, but just redrawing the current line doesn't give
> the context the way I'd like it to.  Perhaps a distinct key to give
> the content-as-edit-line?

I'd be happy even with the current line. But maybe someone else will
have more ideas ?
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



This message may contain confidential information and is intended for specific 
recipients unless explicitly noted otherwise. If you have reason to believe you 
are not an intended recipient of this message, please delete it and notify the 
sender. This message may not represent the opinion of Intercontinental 
Exchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a 
contract or guarantee. Unencrypted electronic mail is not secure and the 
recipient of this message is expected to provide safeguards from viruses and 
pursue alternate means of communication where privacy or a binding message is 
desired.
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] DHCP SERVER in m7i

2015-11-09 Thread Sebastian Bermeo
If this device not support this service, what kind of configuration may I
use to run this function?  I need a example, I'm learning over junos.


On Monday, 9 November 2015, Chad Myers  wrote:

> There was a version of Junos where the dhcp server simply wouldn't work on
> a M7i.  Digging into traceoptions found that it was because it was trying
> to synchronize with the dhcp process on the backup routing engine to
> determine who should be active.  Minor detail that the M7i can't have a
> second RE was overlooked so the dhcp server never went active.
>
> I don't remember the specific code version I was running at the time, but
> I think it was something in 11.4 or 12.1.
>
> -Chad
>
> -Original Message-
> From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net
> ] On Behalf Of Sebastian Bermeo
> Sent: Monday, November 09, 2015 3:48 PM
> To: juniper-nsp@puck.nether.net 
> Subject: [j-nsp] DHCP SERVER in m7i
>
> Hi
>
> I was trying  to configure a dhcp server in a m7i, something like this:
>
> set interfaces ge-0/0/0 unit 7 description visits
> set interfaces ge-0/0/0 unit 7 vlan-id 7
> set interfaces ge-0/0/0 unit 7 family inet address 192.168.7.1/24
> set interfaces ge-0/0/0 unit 7 family iso
>
> set system services dhcp-local-server group dhcp-visitas interface
> ge-0/0/0.7
> set access address-assignment pool pool-visitas family inet
> set access address-assignment pool pool-visitas family inet network
> 192.168.7.0/24
> set access address-assignment pool pool-visitas family inet dhcp-attributes
> name-server 192.168.1.3
>
> Its correct this configuration?
>
> In addicion in this range of address, I need to start the first
> dhcp-address in 192.168.7.64 and end in 192.168.7.254, exists a sentence
> may I use to configure this?
>
> I use JUNOS OS 11.4R7.5.
>
> Thanks for any answer.
>
> Regards.
> ___
> juniper-nsp mailing list juniper-nsp@puck.nether.net 
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
> 
>
> This message may contain confidential information and is intended for
> specific recipients unless explicitly noted otherwise. If you have reason
> to believe you are not an intended recipient of this message, please delete
> it and notify the sender. This message may not represent the opinion of
> Intercontinental Exchange, Inc. (ICE), its subsidiaries or affiliates, and
> does not constitute a contract or guarantee. Unencrypted electronic mail is
> not secure and the recipient of this message is expected to provide
> safeguards from viruses and pursue alternate means of communication where
> privacy or a binding message is desired.
>
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp