Go Back   Velocity Reviews > Newsgroups > Cisco
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Cisco - entering /32 subnet mask on ppp wan interface

 
Thread Tools Search this Thread
Old 03-22-2006, 09:19 PM   #1
Default entering /32 subnet mask on ppp wan interface


Hi

Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
negotiated at the moment but I want it to be hard-coded.

When entering the command on the dialer0 inteface I get the error
below:

router(config)#int dialer0
router(config-if)#ip address 111.222.111.222 255.255.255.255
Bad mask /32 for address 111.222.111.222
router(config-if)#

The router is an 837 with IOS v12.4.7

Is it possible to have a subnet mask for a ppp wan interface of either
0.0.0.0 or 255.255.255.255. It certainly negotiates it as I can see it
in the routing table.

thanks
si
--
Simon


Simon
  Reply With Quote
Old 03-22-2006, 09:21 PM   #2
Patrick M. Hausen
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface
Hi!

Simon <> wrote:

> Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
> negotiated at the moment but I want it to be hard-coded.
>
> When entering the command on the dialer0 inteface I get the error
> below:
>
> router(config)#int dialer0
> router(config-if)#ip address 111.222.111.222 255.255.255.255
> Bad mask /32 for address 111.222.111.222
> router(config-if)#


I don't have a suitable router at hand to verify your problem,
but if I'm not entirely mistaken, you can definitely use:

interface Loopback0
ip address 1.2.3.4 255.255.255.255

interface Dialer0
ip unnumbered Loopback0

HTH,
Patrick
--
punkt.de GmbH Internet - Dienstleistungen - Beratung
Vorholzstr. 25 Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe http://punkt.de


Patrick M. Hausen
  Reply With Quote
Old 03-22-2006, 09:39 PM   #3
Simon
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface
On 22 Mar 2006 22:21:35 +0100, "Patrick M. Hausen" <>
wrote:

>Hi!
>
>Simon <> wrote:
>
>> Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
>> negotiated at the moment but I want it to be hard-coded.
>>
>> When entering the command on the dialer0 inteface I get the error
>> below:
>>
>> router(config)#int dialer0
>> router(config-if)#ip address 111.222.111.222 255.255.255.255
>> Bad mask /32 for address 111.222.111.222
>> router(config-if)#

>
>I don't have a suitable router at hand to verify your problem,
>but if I'm not entirely mistaken, you can definitely use:
>
>interface Loopback0
> ip address 1.2.3.4 255.255.255.255
>
>interface Dialer0
> ip unnumbered Loopback0
>

Hi Patrick

That worked a treat, thanks.

regards
si


--
Simon


Simon
  Reply With Quote
Old 03-22-2006, 09:46 PM   #4
Merv
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface

/31 is the best you can do on the dialer interface itself

cat6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
cat6(config)#int dialer 0
cat6(config-if)# ip address 111.222.111.222 255.255.255.255
Bad mask /32 for address 111.222.111.222
cat6(config-if)# ip address 111.222.111.222 255.255.255.254



Merv
  Reply With Quote
Old 03-22-2006, 10:32 PM   #5
anybody43@hotmail.com
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface
> Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
> negotiated at the moment but I want it to be hard-coded.


> When entering the command on the dialer0 inteface I get the error
> below:



> router(config)#int dialer0
> router(config-if)#ip address 111.222.111.222 255.255.255.255
> Bad mask /32 for address 111.222.111.222
> router(config-if)#


This has changed from 12.3 something.
Old software permitted /32 mask, new software didn't.

I found out the hard way.

Remote software upgrade resulted in lost
connectivity. Needed site visit to fix.



anybody43@hotmail.com
  Reply With Quote
Old 03-23-2006, 05:47 AM   #6
Doug McIntyre
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface
Simon <> writes:
>Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
>negotiated at the moment but I want it to be hard-coded.


>When entering the command on the dialer0 inteface I get the error
>below:


>router(config)#int dialer0
>router(config-if)#ip address 111.222.111.222 255.255.255.255
>Bad mask /32 for address 111.222.111.222
>router(config-if)#


>The router is an 837 with IOS v12.4.7


>Is it possible to have a subnet mask for a ppp wan interface of either
>0.0.0.0 or 255.255.255.255. It certainly negotiates it as I can see it
>in the routing table.



Sounds like you might want

int dialer0
ip address negotiated

??

If, even if you know which IP it will get, it can still negotiate it
in IPCP to get the same one each time.



Doug McIntyre
  Reply With Quote
Old 03-24-2006, 01:40 AM   #7
Aaron Leonard
 
Posts: n/a
Default Re: entering /32 subnet mask on ppp wan interface
On 23 Mar 2006 05:47:59 GMT, Doug McIntyre <> wrote:

~ Simon <> writes:
~ >Can I enter a /32 subnet mask on a ppp dialer0 interface. It is
~ >negotiated at the moment but I want it to be hard-coded.
~
~ >When entering the command on the dialer0 inteface I get the error
~ >below:
~
~ >router(config)#int dialer0
~ >router(config-if)#ip address 111.222.111.222 255.255.255.255
~ >Bad mask /32 for address 111.222.111.222
~ >router(config-if)#
~
~ >The router is an 837 with IOS v12.4.7
~
~ >Is it possible to have a subnet mask for a ppp wan interface of either
~ >0.0.0.0 or 255.255.255.255. It certainly negotiates it as I can see it
~ >in the routing table.
~
~
~ Sounds like you might want
~
~ int dialer0
~ ip address negotiated
~
~ ??
~
~ If, even if you know which IP it will get, it can still negotiate it
~ in IPCP to get the same one each time.

Assuming that the OTHER guy knows which IP address you should have, and
that you TRUST the other guy.


Aaron Leonard
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I can not ping my ATM interface on Cisco router ozoubi Hardware 2 10-22-2009 03:56 PM
CISCO 1801 DNS problem marsav Hardware 2 07-05-2009 11:41 PM
Cisco ASA 5505 not permitting SSH/HTTPS aphex Hardware 1 05-16-2008 12:39 AM
I can not ping my ATM interface on Cisco router ozoubi General Help Related Topics 0 09-23-2007 11:08 AM
IP Address and subnet mask and cIDR our A+ Certification 2 05-11-2005 09:49 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46