LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-06-2005, 01:46 AM   #1
cranium2004
Member
 
Registered: Feb 2004
Distribution: FC4,RHEL4
Posts: 223

Rep: Reputation: 30
ifup eth1 gives error but successfully ups and works why?


Hello,
Why it happens that whenever i try to up interface which is previously down by me gives error. what should be wrong in my configuration which is static IPs to eth0 and eth1
ifup eth1
ipcalc: bad ip address: 10.0.0.
Error: an inet prefix is expected rather than "10.0.0./".

my configuration is
eth0 Link encap:Ethernet HWaddr 00:08:A1:43:61:F5
inet addr:10.0.1.100 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:240 (240.0 b)
Interrupt:9 Base address:0xbc00

eth1 Link encap:Ethernet HWaddr 00:80:48:C3:11:94
inet addr:10.0.1.200 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:915 (915.0 b) TX bytes:420 (420.0 b)
Interrupt:11 Base address:0xdc00
 
Old 04-06-2005, 04:39 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
is this not a clue?
Quote:
ipcalc: bad ip address: 10.0.0.
Error: an inet prefix is expected rather than "10.0.0./".
10.0.0. ?

what happens with

ifconfig eth1 up 10.0.0.200
ifconfig eth1 down

:?
 
Old 04-06-2005, 06:49 AM   #3
cranium2004
Member
 
Registered: Feb 2004
Distribution: FC4,RHEL4
Posts: 223

Original Poster
Rep: Reputation: 30
Quote:
what happens with

ifconfig eth1 up 10.0.0.200
ifconfig eth1 down
Both commands run successfully without error.
 
  


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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot activate eth1 using ifup or using ifcfg-eth1 akay Linux - Hardware 10 12-16-2010 05:10 AM
ifup error linuxhippy Fedora 1 07-27-2005 06:09 PM
ISA modem works except with ifup or rh-config-network Simon Bridge Linux - Networking 3 05-25-2005 09:27 PM
Broadcom wireless with ndiswrapper: ifconfig wlan0 works; ifup wlan0 fails orangechicken Linux - Wireless Networking 2 04-17-2004 05:39 PM
Must run /sbin/ifup eth1 everytime I boot Reo5th Linux - Networking 2 02-27-2004 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:02 PM.

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