Ubuntu Networking :: Hostname Not Announced With Static Network Interface

Sep 17, 2010

My /etc/hostname is not announced on the local network (not showing up on my Mac nor router) when setting /etc/network/interfaces to:

Code:

iface eth0 inet static
address10.0.0.10
netmask255.255.255.0
gateway10.0.0.1

I have tried bringing the interface up and down, and have also rebooted. If I change it to DHCP it will display, but this does not really help me.

View 9 Replies


ADVERTISEMENT

CentOS 5 Networking :: Hostname Changes Automatically On A Server With Static IP?

Jan 7, 2009

Server has been moved to a different locations and so the IP has been changed now the hostname is changed to something other that what it was before.

Could it be the rDNS that is causing this?

Note: this is not a DHCP connection.

View 1 Replies View Related

Ubuntu Networking :: Configure Wlan0 Interface With Static Ip?

May 19, 2010

I've looked everywhere and tried everything. All I want to do is set up a static ip with my wireless network interface wlan0.

View 5 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

CentOS 5 Networking :: Configure Server1 To Have A Different Hostname On The Standard Network Than On The Virtual Network?

Oct 5, 2010

I have a server that is on both a standard network and a virtual network, as follows: server1 attached to standard network server1 acting as Dom0 with two linux DomU guests (under Xen) I only have one network card. How do I configure server1 to have a different hostname on the standard network than on the virtual network? Here are the relevant network configuration files for server1:

/etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.122.9

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Not Showing Proper Hostname On Local Network

Mar 8, 2011

I found that I needed to connect them to the same workgroup, which I now have and for the most part it works. However, for one of the computers I do not want to use a .local domain, rather I need to use a .org. But no matter what I do, other computers on the network think it is a .local hostname. Currently the /etc/hostname on the computer file is as follows:

[Code]...

Here is a screenshot of an ipscan done from another computer on the local area network so you can see what I'm talking about.

View 2 Replies View Related

Ubuntu Networking :: Configuring The Network Interface Via Dhcp - Network Messages - Code: 00 55 89 E5 0f 1f 44 00 00 Fa 5d C3 90 8d 74 26

Apr 7, 2011

I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.

[87.186415] Stack:

Why I am getting this messages and more importantly how do I get rid of them.

The installation is on a VM on Hyper-V.

View 1 Replies View Related

General :: Ubuntu 9.10 Networking Hostname / Can Ping The Linux Box Using Its Hostname From A WinXp. But Cannot Do The Reverse?

Jan 3, 2010

I have a network of 2 WinXP machines and one linux box. I have fiddled around with the settings as you do when learning. The network is working. The network neighbourhood on the WinXP machines recognise the linux box and vice versa, (the linux Places|Network recognises the 2 WinXP). I can Ping the linux box using its hostname from a WinXp. But I cannot do the reverse. I get an 'unknown host' response. I can ping the linux to itself using its hostname.

View 7 Replies View Related

Ubuntu Networking :: Pinging Hostname Rather Than Hostname.local?

May 24, 2010

I'm trying to ping another Ubuntu computer on my local network. If I try doing,ping <hostname>then I get the messageping: unknown host <hostname>however, if I doping <hostname>.localthen I get a response back. I was wondering how I can change it so that I can ping without having to append .localI've installed winbind and modified my /etc/nsswitch.conf file but this has made no difference.

View 2 Replies View Related

Ubuntu Networking :: Hostname Changed But Email Still Using Old Hostname?

May 22, 2011

I have an ubuntu 10.04 server with hostname "abc.domain.com". However, due to migration, we had to change to hostname to something else, "xyz".

I have done changing /etc/hosts and /etc/hostname and run /etc/init.d/hostname start.

Checking the hostname and all shows it is now using hostsname of xyz. However, email sending out is still using old hostname. We have some scripts that will send out alerts like failed rsync or hdd space full to my email account. But I see the sender is still "root@abc.domain.com".

How do change that to xyz? I am using postfix. I have edited main.cf and restarted postfix but no go.

View 1 Replies View Related

Networking :: Configure A Network Route To A Host For Testing Network Interface?

Aug 30, 2010

today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:

Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.

How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?

View 5 Replies View Related

Ubuntu Networking :: Configure Static IP - Use Of 'network'?

Apr 15, 2011

I'm setting up a home webserver with Ubuntu 10.10 and want to configure the interface to static. I'm using a router, which is setup and working correctly. I have been using linux workstation with dhcp for some time.

I've edited my interfaces file to reflect the parameters for setting static ip, with the exception of 'network'. No matter what I put into this setting, it causes me to loose connectivity to the outside world. I've tried to put my router IP, and my IP set by my provider. What should the 'network' value be?

At this time, my 'interfaces' files only includes the following and has connectivity out to the internet:

Code:

Do I need the 'network' settings as shown in every tutorial (but never explained)?

View 1 Replies View Related

Networking :: FC13 Install Can Ping By Hostname - Ssh By Hostname Fails

Jul 29, 2010

I'm having an issue on two Fedora Core 13 machines where I can ping others by hostname, but the hostname resolution fails whenever I use ssh/scp/vnc/etc. I can still do these things by IP address, just not by hostname. RHEL5.3 machines on the same network with the same configuration do not seem to have this problem.

Here's the not-so-quick-and-dirty description of the situation:

I know that there is a virtual router at 192.168.31.1 and another at 192.168.30.1. I also know that there is another network (let's call it 90.90.90.0) and on that network lies a number of resources. By nature of this configuration, any machine on 90.90.90.0 can be accessed by any 192.168.x.x, but not the other way around. Beyond that is out of my hands and currently out of my scope of knowledge.

I have a dnsmasq server on 90.90.90.10 that operates as a secondary nameserver, another machine out of my sphere of influence is the primary nameserver (90.90.90.31).

The secondary nameserver on 90.90.90.10 holds the hostnames of our development machines. The problem is that in some cases, while I can ping by hostname all day long, services such as ssh, scp, vncviewer, etc all fail to resolve the hostname. In other cases I can do all of these things.

Every machine has an equivalent resolv.conf:

As an example, I will show the output of a handful of my development machines:

I also included columbia as a one-way test -- even though it cannot access 30.x or 31.x, they can access it:

columbia -- physical machine, Red Hat Enterprise 5.3, IP 192.168.100.200

Okay, so here are the various outputs. Remember, nibbler, discovery, and atlantis can ALL:
- Ping by IP address
- Ping by hostname
- ssh, scp, vnc, etc by IP addess

Additionally, the SERVFAIL reply from 90.90.90.31 is expected since my dnsmasq server is on the secondary server.

Note that the only machine that can both ping and ssh/scp/etc by hostname is nibbler, which also happens to be the only one of the three running RHEL5.3 instead of FC13. Other virtual and physical machines running on the 192.168.31.0 and 192.168.30.0 networks (all running RHEL5.3) work just like nibbler does. So the problem seems to only affect machines running FC13.

Final note: selinux is disabled, iptables is disabled, ip6tables is disabled.

Other than that, discovery is a brand-spanking-new install straight off of the FC13 DVD. atlantis has been around longer, but its just a file server so I haven't done anything too crazy to it.

View 3 Replies View Related

Networking :: Use The Network Manager App To Set A Static IP?

Jan 12, 2009

In 8.04 I can use the network manager app to set a static IP.

In 8.1 the network manager doesn't seem to work. I tried many different permutations of settings and got nowhere. Even though I put in IP subnet and gateway it still does the DHCP config.

So I added lines to my /etc/networking/interfaces file like this:

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1

I then either reboot or do this: sudo /etc/init.d/networking restart

This made the network manager icon in the top panel vanish. An ifconfig showed that those settings are in place but DNS doesn't seem to be working. I can ping other hosts on my network by IP but not www.yahoo.com etc.

I even read the man, that's how desperate I got! (a config like the above seems to work on my 8.04 machine except that the auto eth0 appears at the end of the file.)

I didn't see how to set the DNS server(s), unless I was in the wrong man.

View 7 Replies View Related

Networking :: Securing Network With Static Arp?

Aug 27, 2010

I am trying to secure my LAN a little by doing static arp entries. But I am not sure how to go about doing this... I have a gateway, and I have a seperate box that runs dhcpd. I would like to assign every machine an ip and only allow it to use that ip, therefore static dhcp entries, and static arp entries on the gateway.

1. But how do I prevent someone from picking an ip that nobody is using and assigning it manually?

2. I assigned a static arp entry by doing arp -i br0 -s 2.2.2.35 00:1F:E1:CC:2E:46, how do I remove it now? I used arp -d but now it just says:

? (2.2.2.84) at <incomplete> on br0

3. I would also like each machine to have a hostname/dns.. like machinex.local, where I can do forward and reverse dns lookups, how do I config this?

4. I know static arp can be fooled if someone just clones an allow mac.. is there anything else that I could use that is more secure for wired lan?

5. I have my gateway running rflow sending all data to ntop running on my dhcp box.. Ntop is kinda cryptic, is there anything easier to use? or something that is better in features? I would like to see how much bandwidth each local ip is using and possibly what protocols, like ntop already shows.

View 1 Replies View Related

Networking :: Static Network Setup?

Aug 16, 2010

I have a fresh install of Centos 5.x and I'm having issues on setting up the network...i know i have to edit/etc/sysconfig/network-script/ifcfg-eth0 and create an ifcfg-eth0:0 right?im just having issues getting everything setup correctly.my network setup:Router IP: 192.168.2.1IPs on network: 192.168.2.xNetmask: 255.255.255.0

View 3 Replies View Related

Ubuntu Networking :: Need Static Ip On Wireless Network Card

Mar 15, 2010

I want my Ubuntu desktop to have a static ip-address, i have altered the interfaces file to the below and also filled the info regarding my wireless network card but still every time I reboot the desktop gets the ip 10.42.43.1, HOW is that possible???

I use a apple time capsule router, I want my desktop to run a apache server thats why I need the static ip. I also want the static ip to be set on the wireless network interface. I have an old laptop with an internal Intel pro 2200 card so there should not be a driver problem.

This i my interfaces config code...

To be on the sure side to get this to work I have configured my router(DHCP) to give my wireless-HWaddress the ip of 10.0.1.15, STILL the ubuntu desktop starts with the false address above.

View 4 Replies View Related

Ubuntu Networking :: Static Ip Remove Computer Name To Network

Jun 3, 2010

I wanted to have a static local IP on my server,But on my 192*.168.1.1, there's a place where ic an see all devices, and before, the displayed name was "STASH" and with the update i put, it'S now "--", but i'd like to keep my old one..

View 2 Replies View Related

Ubuntu Networking :: Static Wireless IP With Network Manager?

Jul 3, 2011

I want to set up a static IP on my laptop that connects via wireless to my home network. I have 11.04 installed on my laptop. When I try to use the manual IPv4 setting in the network manager the save option gets greyed out. I tried to edit the /etc/network/interfaces file but all the examples I could find on the net refer to eth0. I tried replacing this with wlan0 but this did not work. I tried installing wicd but I kept getting "Bad Password" errors even though I know the password is correct. A number of people recommended uninstalling network manager to get wicd to work but many other posts said that uninstalling network manager didn't help so I didn't want to go ahead and uninstall unnecessarily. Besides I figure if Ubuntu is distributed with network manager there must be a reason for having it. So what do I do to get a static IP address for the client on a wireless connection?

1. I went to network manager and selected "Connection Information" On the information window I saw the following:

IPv4
IP Address: 192.168.1.6 (This is the item I wanted to change and make static)
Broadcast Address: 192.168.1.255
Subnet Mask: 255.255.255.0

[code].....

2. I went to network manager and selected "Edit Connections"
3. I selected the wireless tab and then the wireless network I wanted to edit
4. I clicked on the edit button and then I clicked on the IPv4 settings tab.
5. I changed method from Automatic (DHCP) to Manual

[code]....

View 8 Replies View Related

Networking :: Connect To Network With Static IP Address?

May 19, 2009

I am running 2.6.27.21:170.256.fc10.i686 on my laptop.

I am trying to connect to a network at a university in China right now and I cannot figure out how to connect.

IP: 192.168.213.179
subnet mask: 255.255.255.0
default gateway: 192.168.213.1
DNS: 202.202.96.33
DNS: 61.128.128.74

View 5 Replies View Related

CentOS 5 Networking :: Static Ip - No Network Connectivity

Oct 27, 2009

I'm having strange difficulties in setting a static ip for my CentOS 5.4 installation. If I use DHCP everything is fine, but with a static ip I have no network connectivity. I have done this many times with RedHat/Fedora/Ubuntu etc. with no problems and now I have no idea what I'm missing or doing wrong. I have tried to set ip as 192.168.1.20 (anything below .100 will do). GW is 192.168.1.1 and NM is 255.255.255.0. This is all I have had to use with other distros, but now when I set these I cannot even access my routers admin page or ping it (192.168.1.1). (I just did this with Vista on my other machine and all worked fine).

View 13 Replies View Related

Ubuntu Networking :: Static Route For A Nested Internal Network?

Jul 13, 2010

I'm using ubuntu server 10.04. I need to create a second network to do some testing. Here's what it looks like so far: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN

I need to do this: WAN > x.x.x.x/9 > router > 192.168.1.0/24 > LAN > ubuntu server (LAMP, dhcp, dns via eth1) [eth0 192.168.1.138] > ubuntu server [eth1 10.0.0.1] The two networks should be transparent to one another. I've got everything working, except routing. Here is ifconfig:

[Code]...

View 5 Replies View Related

Fedora Networking :: Unable To Get Static Network Functioning F14

Feb 18, 2011

I need static networking to be functional on F14 to try freeipa....the problem I have is I am unable to get eth0 to start. Knowing the software it has to be eth0 or it will likely not work... The guest is in a RHEV6svr environment... So I have disabled NetworkManager and enabled networ and set manula settings in ifcfg-eth0 incl the hware address but eth0 wont start on boot....

next I tried setting a e1000 network card after the hypervisor default didnt work, only to find that this doesnt work either. The MAC addresses are changing as I try and fault find a dead DNS client issue (yet another F14 issue but lets not go there yet, it could be RHEV's "funky" NATing setup)....so I suspect F14 has got its knickers in a twist over the MAC for ETH0....I keep changing it and I suspect it cant keep up.....so I need to disable the automatic function(s), if there is one....

So somewhere down in the code there is probably a line saying eth0= <mac address> but despite greping I cant find that.....or not something that I edit and it then works.... I have tried the gui tools and command line tools and I still have no network..... So what would be a totally CLI process to fix this automated crap? ie stop F14 pointing at the wrong MAC for eth0?

[code]....

View 4 Replies View Related

CentOS 5 Networking :: Converting From Static Ip Network To DHCP

Apr 19, 2010

I decided to take the plunge and change the existing static ip configuration for my home network to a dynamic (DHCP) configuration. The DHCP server in this new network config is my gt701-wg actiontec DSL modem.

[Code]....

View 5 Replies View Related

Software :: Add Static Route For Loopback Interface?

Apr 9, 2009

I have configured LVS under RHEL5. I need to configure static route to my VIP. Now, I used the following command to add route but reboot OS will flush the route.

# route add -host 192.168.11.55 dev lo:0

how to add static route for certain network via /etc/sysconfig/network-scripts/route-<device-name>. But I did not found that for host.

View 4 Replies View Related

Fedora Networking :: F14 Server Is Looses Access To The Network Once Set A Static IP?

Apr 29, 2011

Our F14 server is looses access to the network once we set a static IP.The same IP, if used on any other pc works fine.We had the same exact setup in our F10 server also.

View 9 Replies View Related

Networking :: Network Very Slow If Static Ip Settings / But Fine With DHCP

Jan 27, 2010

I've been using slackware for many years. I think I started with Slack 8. I know how to configure the network, I've had this same POS Dell computer for a few years now but the other day I tried to go to a different distro (first mistake) everything worked fine but it was not for me. Once you go slack you never go back! Anyway I had slack on here prior to the change and it all worked fine. I'm running slack 13 and all of a sudden my network is slow as balls! I set it up as I always have so I did some research and tried a few things, nothing worked. So i enabled DHCP and its fine now.. I have a dell xps 420. onboard intel nic. worked fine when i first installed slack 13. Anyone have any clue what to do? I would like my static IP on this machine.

View 6 Replies View Related

CentOS 5 Networking :: Bind A Static IP To My NIC I Loose All Network Connectivity?

May 26, 2009

I am having a problem with when I bind a static IP to my NIC I loose all network connectivity but, if i leave it set to dhcp it works fine. I've gone over all my settings a thousand times and they are all correct. Has anyone else had this problem or give me a hint as to what the problem might be?

View 2 Replies View Related

CentOS 5 Networking :: Network Install / Static Changes To Dhcp In Anaconda

May 10, 2010

I'm trying to install CentOS 5.4 from my local repo, booting the server from centos54-netinstall iso (vmware). I write "linux URL..." during boot. I eventually get prompted for network config, where I choose manual configuration. Hitting OK ignores my config and defaults back to dhcp, which won't work since I don't have any dhcp server available.Whats wrong? Is there a bug in anaconda?

View 1 Replies View Related

Networking :: Set An Static Ipaddress On Network-scripts But Dynamic Ip Shows On Ifconfig?

Jan 27, 2010

I recently installed fedora 12 in my server where I had a page published in my local net by tomcat, and I was looking on the Internet how to set up an static ip address and this is what I did

on /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express
#
# File: ifcfg-eth0

[code]....

then I can access via ssh by two addresses the one I got from dhcp (10.17.148.223) and the static one (10.17.148.26) I put ifconfig and and 10.17.148.223 appear on eth0 I restart my server and I just can access from 10.17.148.223 I have to put

ifdown eth0
ifup eth0

Again...to access by my static ip, y can access my page by its dns on my server, but I cant access from other computer...so, I guess when my static adress appears on ifconfig I would be able to access my page from other computer...

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved