LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2012, 05:31 PM   #46
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by thor_2.0 View Post
...um, of course, you did replace [gateway address] with an ip address...so, this could only mean you're in another netmask. Enter this



...and look for eth0, what's the netmask?
255.255.255.0
 
Old 02-11-2012, 05:33 PM   #47
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Hmm, looks good, what's your IP address and that of the gateway?
 
Old 02-11-2012, 05:36 PM   #48
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Hmm, looks good, what's your IP address and that of the gateway?
you mean the "inet addr" and "Bcast"?
 
Old 02-11-2012, 05:37 PM   #49
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by omizt View Post
you mean the "inet addr" and "Bcast"?
Bcast is the same as the gateway address showed in the 3rd line when I type "route -n"
 
Old 02-11-2012, 05:43 PM   #50
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
and the gateway is 0.0.0.0
That cannot be good...okay, let's try something, enter

Quote:
ifconfig
and post what you get about eth0 here...

When a network is unreachable, that can mean that the two hosts are in a different subnet. You could have (let's say) 192.168.1.250 and the gateway 192.168.0.24, I marked the numbers of interest in red. This difference could make a network unreachable.

Last edited by ButterflyMelissa; 02-11-2012 at 05:46 PM.
 
Old 02-11-2012, 05:47 PM   #51
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
That cannot be good...okay, let's try something, enter



and post what you get about eth0 here...

When a network is unreachable, that can mean that the two hosts are in a different subnet. You could have (let's say) 192.168.1.250 and the gateway 192.168.0.24, I marked the numbers of interest in red. This difference could make a network unreachable.

Link encap:Ethernet HWaddr 00:25:64:B2:71:BA
inet addr:129.112.73.231 Bcast:129.112.73.255 Mask:255.255.255.0
inet6 addr: fec0::a:225:64ff:feb2:71ba/64 Scope:Site
inet6 addr: 2002:8170:6a59:a:225:64ff:feb2:71ba/64 Scope:Global
inet6 addr: fe80::225:64ff:feb2:71ba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8522009 errors:0 dropped:211 overruns:0 frame:566
TX packets:16131 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1075302079 (1.0 GiB) TX bytes:2172265 (2.0 MiB)
Interrupt:185
 
Old 02-11-2012, 05:51 PM   #52
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
net addr:129.112.73.231 Bcast:129.112.73.255 Mask:255.255.255.0
Gotcha! And what is the IP address of the gateway?

Oh, by the way, do the same routine with a well-behaved box, you'll see a different IP address...of course, but apart from the last entry, the three first entries should be the same...

Last edited by ButterflyMelissa; 02-11-2012 at 05:53 PM.
 
Old 02-11-2012, 05:52 PM   #53
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Gotcha! And what is the IP address of the gateway?
I think it's 129.112.14.254
 
Old 02-11-2012, 05:59 PM   #54
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
I think it's 129.112.14.254
Hmm, this means that the IP address of your box should be 129.112.14.X - where X is any number you did not use for your other boxes...try this

Quote:
ifconfig eth0 129.112.14.X netmask 255.255.255.0 bcast 129.112.14.255 up
I tried to supply data that is used in your system, save for the X, you'll need to put something in there yourself, between 1 and 255 inclusive...
 
Old 02-11-2012, 06:04 PM   #55
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Hmm, this means that the IP address of your box should be 129.112.14.X - where X is any number you did not use for your other boxes...try this



I tried to supply data that is used in your system, save for the X, you'll need to put something in there yourself, between 1 and 255 inclusive...
"bcast:Host name lookup failure"
 
Old 02-11-2012, 06:16 PM   #56
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
try 255.255.112.0 as IP...
 
Old 02-11-2012, 06:19 PM   #57
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
try 255.255.112.0 as IP...
i typed
ifconfig eth0 255.255.112.0 netmask 255.255.255.0 bcast 129.112.14.255 up
and result is
SIOSIFADDR:Invalid argument
bcast: Host name lookup failure
 
Old 02-11-2012, 06:25 PM   #58
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
ifconfig eth0 255.255.112.0 netmask 255.255.255.0 bcast 129.112.14.255 up
Nonono, it should read:

Quote:
ifconfig eth0 129.112.14.X netmask 255.255.14.0 bcast 129.112.14.255 up
where X is any number between 1 and 255, and NOT used already
By the way, can you ask an IP address from the IT manager? Just a thought, since this is a university

Last edited by ButterflyMelissa; 02-11-2012 at 06:26 PM.
 
Old 02-11-2012, 06:28 PM   #59
omizt
Member
 
Registered: Feb 2012
Posts: 56

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Nonono, it should read:



where X is any number between 1 and 255, and NOT used already
By the way, can you ask an IP address from the IT manager? Just a thought, since this is a university
same result:
SIOSIFADDR:Invalid argument
bcast: Host name lookup failure

I think the 255.255.255.0 is the network mask, because there is a note on the computer said so.
 
Old 02-11-2012, 06:31 PM   #60
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,686
Blog Entries: 23

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
I think the 255.255.255.0 is the network mask, because there is a note on the computer said so.

You're right, but, due to the structure of your IP address, it may need to me 255.255.14.0
 
  


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
root access to user account RudraB Linux - Newbie 16 06-30-2010 03:11 AM
Root Account Access Security iconicmoronic Linux - Security 2 04-14-2007 03:17 PM
How do I access root account in Mandrake 10? dbz Linux - Security 4 04-03-2004 12:00 PM
Can Access Sites with root but not user account Obelus Linux - Networking 4 12-21-2003 04:28 PM
FTP access using root account - restrictions alaerte Linux - Software 7 04-03-2003 02:33 PM


All times are GMT -5. The time now is 11:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration