Search found 7 matches

by wchao
2014/09/02 01:08:37
Forum: CentOS 7 - Networking Support
Topic: How To Edit/Delete Name Servers in Network Manager?
Replies: 3
Views: 2872

Re: How To Edit/Delete Name Servers in Network Manager?

Are you trying to configure DHCP to ignore the name servers supplied by your ISP? Create a file named /etc/dhcp/dhclient-eth0.conf (replace eth0 with the network interface you use). That file should contain: prepend domain-name-servers 127.0.0.1; If you want to completely replace the values (as oppo...
by wchao
2014/09/02 00:56:04
Forum: CentOS 7 - Networking Support
Topic: Using Static ifcfg- files on Centos 7 for bridging
Replies: 6
Views: 37815

Re: Using Static ifcfg- files on Centos 7 for bridging

Bridging actually does work in NetworkManager, although it's kind of a pain to figure out the first time around. Here is what I use: # prepare enp1s0 physical device for bridging nmcli connection modify enp1s0 ipv4.method disabled ipv6.method ignore connection.autoconnect yes nmcli connection modify...
by wchao
2014/09/02 00:49:17
Forum: CentOS 7 - Networking Support
Topic: How to set up split dns horizon on centos 7 with dnsmasq
Replies: 9
Views: 7793

Re: How to set up split dns horizon on centos 7 with dnsmasq

Split horizon DNS is the best solution, but if you get stumped on that, another option is iptables, like so: iptables -t nat -A PREROUTING -d 1.2.3.4 -j DNAT --to-destination 10.20.10.1 iptables -t nat -A POSTROUTING -p tcp -m tcp -s 10.20.10.0/24 -d 10.20.10.0/24 -j SNAT --to-source 10.20.10.1 That...
by wchao
2014/08/02 12:49:18
Forum: CentOS 7 - General Support
Topic: libvirt lxc CentOS 7 container eth0 keeps changing on boot
Replies: 6
Views: 9627

Re: libvirt lxc CentOS 7 container eth0 keeps changing on bo

To further add to my comment about NetworkManager behaving better under LXC rather than libvirt LXC, I should clarify that under LXC, there are still some problems. Notably, an Ethernet interface using DHCP is stable across multiple boots, but if I configure a static IP address on the Ethernet inter...
by wchao
2014/08/01 22:46:14
Forum: CentOS 7 - General Support
Topic: libvirt lxc CentOS 7 container eth0 keeps changing on boot
Replies: 6
Views: 9627

Re: libvirt lxc CentOS 7 container eth0 keeps changing on bo

NetworkManager has fewer problems running in an LXC container managed by LXC (as opposed to libvirt). When I create a CentOS 7 container using the lxc tools, my Ethernet interface inside the container is stable. I think the changing Ethernet interface is caused by a bad interaction between libvirt a...
by wchao
2014/07/25 13:03:19
Forum: CentOS 7 - Hardware Support
Topic: [SOLVED] CentOS 7.0 on Intel NUC
Replies: 13
Views: 62940

Re: CentOS 7.0 on Intel NUC

I'm using the Gigabyte Intel Celeron N2807 Mini PC Barebones GB-BXBT-2807 http://www.gigabyte.com/products/product-page.aspx?pid=5038#ov http://www.amazon.com/gp/product/B00KR0QHXW/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 I get a very similar problem during install. I see the error message "tsc :...
by wchao
2014/07/19 20:55:01
Forum: CentOS 7 - General Support
Topic: libvirt lxc CentOS 7 container eth0 keeps changing on boot
Replies: 6
Views: 9627

libvirt lxc CentOS 7 container eth0 keeps changing on boot

I am running CentOS 7 and trying to create a libvirt LXC CentOS 7 container. I am able to create the CentOS 7 container and then boot into it fine. I then need to run: nmcli connection delete eth0 nmcli connection add type ethernet ifname eth0 con-name eth0 The network interface works fine after tha...

Go to advanced search