Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-14-2015, 04:47 AM   #1
Registered: Dec 2008
Posts: 51

Rep: Reputation: 1
Issue related to ip configuration range

Hi all ,

I am trying to configure ip range to one of my interfaces in my linux router.

I am issues when i try like below.

#ip address
% host portion of interface/gateway IP address cannot be 0 or subnet broadcast address

Here host portion means first three octets , and why it says like cannot be '0' and throws error.

My intention here is like give to router and allow ip's of range to . So where am i going wrong here?.

If i give below ips it works fine.

[local]Ref_5d01-ipos1(config-if)#ip address

So where am i going wrong.

Old 09-15-2015, 02:44 PM   #2
Senior Member
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
On a class C network, /24, the 11.1.1 is the network and .0 is the host. When you assign the ip address of to the interface the system knows that it belongs to the network You do not assign a network range to an interface you assign an ip address.


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deny ip address range in dhcp configuration Siddharth Sharma Linux - Server 3 06-21-2013 10:08 AM
[SOLVED] mail configuration related query. pinga123 Linux - Newbie 4 03-16-2011 06:20 AM
qmail configuration related issue aliabbass Linux - Server 2 03-05-2011 08:25 AM
Change monitor, out of range issue ufmale Linux - Newbie 3 08-20-2009 04:49 PM
monitor issue with suse 10.0 out of range cetizio SUSE / openSUSE 1 01-11-2006 04:56 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration