Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

*nix

*nix forum sponsored by
*nix Forum Sponsored by Navaho

Powering the backend of many of our networks, unbeknown to many. Linux, Solaris, Unix...

Go Back   EduGeek.net Forums > Technical > *nix
Reply
 
LinkBack Thread Tools Search Thread
Sponsored Links
Old 13-09-2006, 03:39 PM   #1
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Ubuntu network problem

I have a strange problem witha new install of Ubuntu.

Our ip range is 192.168.0.0/23

with most servers, switches, printers, WAPs on the 192.168.0 and the clients start at 192.168.1.1 but the default gateway and proxy is 192.168.1.254.

Now for some reason the new server just wont connect with that IP no ping no nothing. It will ping all the local servers on the 0.0 range and the random clients on the 1.0 range but just not 192.168.1.254.

The default gateway is just a stock smoothie at the moment so nothing exotic there and I have already discounted it being a subnet mask problem by pinging a few clients.

So is there some reason it might think that 192.168.1.254 is an invalid ip for that network or something?
  Reply With Quote
Old 13-09-2006, 04:24 PM   #2
 
CyberNerd's Avatar
 
Join Date: Jan 2006
Posts: 4,313
uk
Thanks: 124
Thanked 325 Times in 260 Posts
Rep Power: 76 CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future CyberNerd has a brilliant future
Default Re: Ubuntu network problem

whats you routing table say?
Code:
netstat -rn
  Reply With Quote
Old 13-09-2006, 04:26 PM   #3
 
webman's Avatar
 
Join Date: Nov 2005
Location: County Durham
Posts: 6,984
uk uk durham city
Thanks: 476
Thanked 423 Times in 325 Posts
Blog Entries: 2
Rep Power: 125 webman ooh
webman ooh webman ooh
Default Re: Ubuntu network problem

Does the smoothie have ICMP replies disabled? Can you ping an external internet address from that box?
  Reply With Quote
Old 13-09-2006, 04:53 PM   #4
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

@ webman: I can ping the smoothie from other machines no problem.
@ CyberNerd: Will check tommorow.
  Reply With Quote
Old 13-09-2006, 05:10 PM   #5
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 10,753
uk uk lancashire
Thanks: 93
Thanked 381 Times in 327 Posts
Blog Entries: 1
Rep Power: 98 Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Ubuntu network problem

Assuming your using classless (CIDR) notation 192.168.0.0/23 gives you two class C networks or 512 IPs. Everything from 192.168.0.1 to 192.168.1.254. 192.168.0.0 is your network address. 192.168.1.255 is your broadcast address.

One gotcha is that Linux allows you to specify these options seperately. It's perfectly possible to supply a correct IP and netmask and give a rubbish broadcast address.

Also, what does the output from 'ifconfig' and 'route' look like?
  Reply With Quote
Old 13-09-2006, 05:20 PM   #6
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

I tried playing with the broadcast address. It had been set to 192.168.1.255 which I assumed was correct but I tried 192.168.0.255 on the off chance.

I will check out the routing table tommorow.

It just seems it doesnt like that one IP.

I thought at first it was the NIC and used a different machine of the same model.

I have had stock debian installed fine so not quiete sure whats up with this.
  Reply With Quote
Old 14-09-2006, 09:06 AM   #7
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *                       255.255.0.0     U      0      0        0 eth0
default         fmproxy.fisherm 0.0.0.0            UG    0      0        0 eth0
Code:
# The primary network interface
auto eth0
iface eth0 inet static
	address 192.168.0.8
	netmask 255.255.0.0
	network 192.168.0.0
	broadcast 192.168.1.255
	gateway 192.168.1.254
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 192.168.0.6
Heres the info above.
  Reply With Quote
Old 14-09-2006, 09:12 AM   #8
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 10,753
uk uk lancashire
Thanks: 93
Thanked 381 Times in 327 Posts
Blog Entries: 1
Rep Power: 98 Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Ubuntu network problem

Your netmask is wrong. It should be 255.255.254.0
  Reply With Quote
Old 14-09-2006, 09:13 AM   #9
 
SimpleSi's Avatar
 
Join Date: Jun 2005
Location: Lancashire
Posts: 2,640
uk
Thanks: 315
Thanked 193 Times in 161 Posts
Rep Power: 56 SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of
Default Re: Ubuntu network problem

Maybe just try booting the machine off a LiveCD and see if it picks up an address from your DHCP server

regards

Simon
  Reply With Quote
Old 14-09-2006, 09:16 AM   #10
 
SimpleSi's Avatar
 
Join Date: Jun 2005
Location: Lancashire
Posts: 2,640
uk
Thanks: 315
Thanked 193 Times in 161 Posts
Rep Power: 56 SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of
Default Re: Ubuntu network problem

As Geoff says your netmask doesn't match your description of using 192.168.0.0/23. (it matches 192.168.0.0/16)

What netmask do the other machines on the net use?

regards

Simon
  Reply With Quote
Old 14-09-2006, 09:18 AM   #11
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

Yeah sorry it was 255.255.254.0 I just changed it to try and get it to see more of the network.

It will pick up a dhcp address and it will ping any IP in the 1.0 range apart from 1.254
  Reply With Quote
Old 14-09-2006, 10:09 AM   #12
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

It will ping right upto 192.168.1.253 how very annoying. I would be willing to change the proxy IP to get round this if it wasnt for all the manually configured laptops we have.
  Reply With Quote
Old 14-09-2006, 10:13 AM   #13
 
Geoff's Avatar
 
Join Date: Jun 2005
Location: Fylde, Lancs, UK.
Posts: 10,753
uk uk lancashire
Thanks: 93
Thanked 381 Times in 327 Posts
Blog Entries: 1
Rep Power: 98 Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute Geoff has a reputation beyond repute
Send a message via ICQ to Geoff Send a message via AIM to Geoff Send a message via MSN to Geoff Send a message via Yahoo to Geoff Send a message via Skype™ to Geoff
Default Re: Ubuntu network problem

Are there any firewall rules setup on either your proxy or the ubuntu machine that might be causing this?
  Reply With Quote
Old 14-09-2006, 10:18 AM   #14
 
ChrisH's Avatar
 
Join Date: Jun 2005
Location: East Lancs
Posts: 4,438
uk uk lancashire
Thanks: 21
Thanked 103 Times in 94 Posts
Rep Power: 35 ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light ChrisH is a glorious beacon of light
Default Re: Ubuntu network problem

Ubuntu is a lamp install from the cd with only ssh server added. The proxy is a smoothwall box with advanced proxy installed. So as far as I can see there is nothing special configured.
  Reply With Quote
Old 14-09-2006, 12:36 PM   #15
 
SimpleSi's Avatar
 
Join Date: Jun 2005
Location: Lancashire
Posts: 2,640
uk
Thanks: 315
Thanked 193 Times in 161 Posts
Rep Power: 56 SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of SimpleSi has much to be proud of
Default Re: Ubuntu network problem

Have you anything clever (VPN) setup on your switches that might be causing problems on that port?

Does changing ports make any diff.

If you boot off a different distro LiveCD - can you ping the proxy now?

regards

Simon
  Reply With Quote
Reply

EduGeek.net Forums > Technical > *nix

Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd Network problem ind13 Networks 6 25-09-2006 05:02 PM
Help, stuck with network/ad problem e_g_r Networks 13 14-09-2006 07:37 AM
SIMS Network - Problem Nij.UK Windows 0 22-06-2006 01:59 PM
network problem Chris Networks 9 15-03-2006 02:56 PM
Is This A Network Problem ? Pear Windows 21 12-12-2005 04:01 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:03 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2010 EduGeek.net
SERVER: 4
no new posts