Hello,
I am running Fedora release 17 (Beefy Miracle) and would like to set up a static IP address. I work with RHEL so I thought I would be able to locate a file /etc/sysconfig/network-scripts/ifcfg-eth0 but I have no such file on my system .
So this has been driving me nuts for a good couple of hours, so I thought I'd ask about it here (let me know if there's a better forum for this question).
I have a CentOS Virtual Machine on ESXi. I was trying to configure the network interface because it wasn't working, so I changed the file /etc/sysconfig/network-scripts/ifcfg-eth0 to the right IP address/gateway/netmask/MAC ID etc.
I have a strange networking problem with Windows 2008 server R2, running as guest under KVM-Qemu host.
Host is CentOS 6.3 x86_64.
It's network settings:
# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
BOOTPROTO=static
BROADCAST=xx.xx.xx.63
IPADDR=xx.xx.xx.4
NETMASK=255.255.255.192
NETWORK=xx.xx.xx.0
ONBOOT=yes
TYPE=Bridge
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWAD
Good, I just installed OpenSuse 11.2 and I have a rare Bug to the Internet.
When I ping to any page I get this error:
linux-y2re:~ # ping Google
ping: unknown host Google
linux-y2re:~ #
These are the network settings
I am running CentOS 6.3 with NetworkManager disabled.
I was trying to set up a network bridge to try out setting up guests w/ kvm. I was creating a bridge before setting up stuff with kvm, just since I wasn't too familiar with it. Something didn't go right and I couldn't ping the gateway ip or anything past it with the bridge in place. The ip, netmask, and gateway are all correct.
The instructions for setting up a LAN, which I assume would allow me to create a sub-domain on my VPS, are the following using the command-line on CentOS:
Using sudo, create the configuration file /etc/sysconfig/network-scripts/ifcfg-eth0:0 with the following:
DEVICE=eth0:0
BOOTPROTO=none
ONPARENT=yes
TYPE=Ethernet
IPADDR=$ADDITIONAL_IP$
NETMASK=255.255.255.0
GATEWAY=XXX.XXX.XXX.1
NAME=eth0:
I have been following this method described here:
http://linuxwave.blogspot.com/2010/01/setting-virtual-ip-in-centos.html
To assign a virtual IP to one NIC.
Strange issue going on here...
I have two machines, one has a wireless connection to my LAN [client], the other a wireless and wired [host]. I've configured /etc/network/interfaces as such:# Primary Interface
auto eth0
iface eth0 inet static
address 192.168.1.2
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
I have a centos 6.3 server with kvm installed.