Displaying 20 results from an estimated 4000 matches similar to: "Set static IP"
2013 Jun 04
3
Centos6.4 routing problem
dear All,
I'm facing this routing problem, the setup is actualy part of ltsp, but
I think this problem is Centos-specific.
The server is a Dell Poweredge R210. The install is standard 6.4, updated.
I have one nic facing the public internet:
vi /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
BOOTPROTO=none
HWADDR=d4:ae:52:c1:28:2b
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
2013 Apr 16
4
2nd NIC troubles
Hi All,
I have 2 NICS in this system. CentOS 6.4
eth0 is the virtual IP from PFSense mapping connected to the router, works
fine.
eth1 is a second NIC that I have assigned a private IP to and connected it
to a switch on the private network. I have many other private devices, so I
know this setup works.
When I connect the cable to the switch and bring up eth1 the system
basically stops taking
2009 Jun 10
1
IPv6 range provisioning question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A few months back, I tried to use the network scripts to provision an IPv6 range
like can be done with IPv4. I was using CentOS 5.2 at the time and was informed
that 5.2 was broken in this regard. I have upgraded to CentOS 5.3 now and I am
trying to get IPv6 to provision an entire range of IPs, but I am still getting
the old behavior and no IPs are
2007 Nov 10
2
Virtual Box Host Networking problems
Dear Centos-Virt:
This is actually a second request for help on the
same issue. I finally got to try what several
months ago was replayed to me and no joy was to
be had. I am afraid the original thread got stale
and also had extra, unnecessary data in it.
Guest=XP Pro, SP2
Host=CentOS5; # uname -r; 2.6.18-8.1.15.el5
VirtualBox-1.5.0_24069_rhel5-2.i586.rpm
2010 Aug 13
2
IP aliases from a QEMU/KVM guest
Hello,
I'm trying to set up IP aliases within a QEMU/KVM guest on CentOS 5.5
x86_64, going through a bridged virtualized interface.
The virtualized interface in the guest is configured as follow:
# ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
PEERDNS=yes
GATEWAY=IP.OF.HOST.GATEWAY
HWADDR=11:11:11:11:11:11
IPADDR=IP.OF.GUEST.ETH1
NETMASK=255.255.255.255
ONBOOT=yes
ARP=yes
USERCTL=no
IPV6INIT=no
#
2014 Jan 15
4
default gw route has gone?
Weird behaviour.
A couple of days ago I installed another DSL router.
During the process I have somehow caused the default gw route to
disappear - on system start up the interface comes up fine, I can see
and connect to the local subnet but not to the internet.
[rkampen at timsws network-scripts]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
2011 Nov 13
3
binding additional IP addresses to centos6 on one interface
I know this was discussed before, and I have seen a million ways of
doing this via online docs. I have a quick question that hopefully the
community can help me out with
I am trying to add a block of 10 IP addresses. Rather then create 10
different alias files, I want to use the RANGE file.
Docs say to use the following format:
IPADDR_START=x.x.x.x
IPADDR_END=x.x.x.x
CLONENUM_START=0
If the
2012 May 13
4
True bond howto for Centos 6
Hi all,
Read many posts on the subject.
Using 802.3ad.
Few problems;
Cannot ping some hosts on the network, they are all up.
Cannot resolve via DNS which is one of the hosts that I cannot ping, internal nor external DNS hosts.
Unplugging the NICS and plugging them back in will then not allow pining if the default d=gateway.
When cold booting it somewhat works, some hosts are pingable while
2016 Oct 04
1
Virtualization Networking
> Date: Monday, October 03, 2016 22:00:07 -0400
> From: TE Dukes <tdukes at palmettoshopper.com>
>
>> From: Gordon Messmer
>> Sent: Monday, October 3, 2016 4:25 PM
>>
>> On 10/03/2016 04:54 AM, TE Dukes wrote:
>> > I can get the guest to access the internet but have tried every
>> > was possible to be able to access the guest from the LAN
2009 Oct 08
12
resolv.conf rewritten every reboot. How to figure out who and why?
My machine has a static IP, with dhcp and IPv6 disabled. Every time I
reboot, some process rewrites /etc/resolv.conf, including a comment
about dhcpclient. The only package I have installed that shows up in
"rpm -qa|grep -i dhcp" is dhcpv6-client-1.0.10-16.el5, and nothing in
there is named dhcpclient.
I'd like to figure out what software is rewriting this file and why.
man 5
2017 Feb 13
2
CentOS 7, systemd, NetworkMangler, oh, my
Gordon Messmer wrote:
> On 02/13/2017 07:35 AM, m.roth at 5-cent.us wrote:
>> Finally, I do an ifdown, followed by an ifup, and everything's
>> wonderful.
>
> What's in /etc/sysconfig/network-scripts/ifcfg-<interface>? Does it say
> NM_CONTROLLED=no?
>
Good catch. No, it doesn't say no... because the line was commented out.
I've just uncommented it,
2007 Sep 02
1
Virtual Box: br0 not resolving: No DHCPOFFERS
Dear Centos-Virt:
Help!
Guest=XP Pro, SP2
Host=CentOS5; # uname -r; 2.6.18-8.1.8.el5
VirtualBox-1.4.0_21864_rhel5-1.i586
http://www.virtualbox.org/download/1.5.0/VirtualBox-1.5.0_24069_rhel5-1.i586.rpm.run
I have two nic: eth0 is the internal network; eth1 connects to a DSL modem.
I also have a fully functioning DHCP server on eth0 (works perfectly
with Parallels for Linux).
The directions
2005 Dec 12
1
Netcard don't up
Dear Friends
I have 2 netcards (eth0 to Internet and eth1 to internal network) in
CENTOS 4.2, bit when I boot system the up eth0 and et1i [OK].
When I run ifconfig the eth1 has not IP configure, then I run command
ifdown eth1 and ifup eth1, after eth1 is work perfect.
Below I show file /etc/sysconfig/network-scripts/ifcfg-eth1
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon,
> And can you diff the config of eno1 and eno4.
# pwd
/etc/sysconfig/network-scripts
# diff -u ifcfg-eno1 ifcfg-eno4
--- ifcfg-eno1??? 2020-09-21 17:23:25.576672703 +0200
+++ ifcfg-eno4??? 2020-09-22 07:18:43.160532532 +0200
@@ -3,15 +3,20 @@
?BROWSER_ONLY=no
?BOOTPROTO=none
?DEFROUTE=no
-IPV4_FAILURE_FATAL=yes
-IPV6INIT=no
-IPV6_AUTOCONF=no
+IPV4_FAILURE_FATAL=no
2006 Nov 24
6
dhcpd
Hi
im trying to configure centos to run as a dhcpd daemon but it simply doesnt
work
I'm using the default configuration file from dhcdp (and tried multiple
alternatives).
problem is that pxe clients do not aquire dhcp addresses
in the log i can see that there are 3 or 4 dhcp offers per boot atempt but
no dhcp requests
anyone?
i'm going crazy here... .i've tryed 3 diferent
2011 Sep 11
4
CentOS 6: ethernet "ifconfig up" failure
On my CentOS 6 partition of my laptop:
First note that for this test, NetworkManager is not
running because I did:
chkconfig --del NetworkManager
and then rebooted.
Here is my ifcfg-eth0:
DEVICE="eth0"
NM_CONTROLLED="no"
ONBOOT=no
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.2.5
PREFIX=24
GATEWAY=192.168.2.1
DNS1=192.168.2.1
DNS2=192.168.2.1
2012 Jan 27
2
After a long break, one more try at bond/bridge nics
took a couple months off due to road blocks, hoping a fresh look would
allow me to use my server as desired.
I have three ports, eth0-2 over two nics.
I want to bond them, and then use a bridge to connect to virtual
machines on the virtual host computer.
Never having done this, I am confused on some parts.
Here is where I am at now and any pointers helpful. Single server,
centos 6.x
My issue
2018 Jun 21
2
NetworkManager updating resolv.cfg
Hi,
I am facing issue stoping NetworkManager to update resolv.cfg, I am using below configuration for eth0 interface:
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=eth0
UUID=93b90a46-dab5-4a67-8fd0-fefe8874a8b9
DEVICE=eth0
ONBOOT=no
PEERDNS=no
PEERROUTES=yes
2013 Jun 06
1
Fwd: WpaSupplicant how to
Hi,
I was recently going through the how to located here:
http://wiki.centos.org/HowTos/Laptops/WpaSupplicant
This how-to shows the steps to follow to get a wifi interface working
without using NetworkManager and subsequently how to have wireless working
withouth having a user login.
Anyways, when going through this I was having issues because everything
seemed to work but I was never
2020 Sep 22
2
nmcli: unwanted secondary ip-address
Dear Simon,
every second IP-address is unwanted. We restarted? eno4:
nmcli con down eno4; nmcli con up eno4
and the second address vanishes. Then after a few ours, the second ip
address reappears.
This is the config-file of eno2:
# cat ifcfg-eno2
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes