similar to: From network-scripts to NetworkManager on a router : questions

Displaying 20 results from an estimated 8000 matches similar to: "From network-scripts to NetworkManager on a router : questions"

2017 Apr 08
2
Network configuration: desktop vs. laptop
Hi, I'm just migrating some stuff from Slackware Linux to CentOS, and I have a question about the orthodox way of configuring a network connection. On a desktop or workstation, I usually get rid of NetworkManager: # systemctl stop NetworkManager # yum remove NetworkManager Then I edit the /etc/sysconfig/network-scripts/ifcfg-XXXXX file corresponding to my network interface. Here's
2016 Aug 09
4
Gateway question
On 09/08/2016 20:01, Gordon Messmer wrote: > On 08/08/2016 04:05 AM, Levente Birta wrote: >> Can I add this in any config files (ex: route-enp2s0)? > > > Yes. Add a route file for each interface, and set up rules to send > packets out the corresponding physical interface: > > https://blogs.oracle.com/networking/entry/advance_routing_for_multi_homed > Yes, but no
2019 Jan 03
2
Re: macvtap and tagged VLANs to the VM
Hi Laine, thanks for your answer, I really appreciate that. On Wed, Jan 02, 2019 at 11:34:30AM -0500, Laine Stump wrote: > On 12/16/18 4:59 PM, Marc Haber wrote: > > I would like to run a network firewall as a VM on a KVM host. There are > > ~ 25 VLANs delivered to the KVM host on three dedicated links, no LACP > > or other things. I have the VLANs 100-180 on the host's
2020 Feb 18
0
From network-scripts to NetworkManager on a router : questions
On 18/02/2020 12:00, Nicolas Kovacs wrote: Hi Nicolas, > I'm using NetworkManager TUI (nmtui) to configure my connections. I'm > defining two profiles WAN (enp1s0) and LAN (enp2s0). With NetworkManager > I have to configure gateway and DNS information on a per-interface basis. > > 1. Which interface should have the gateway information ? The WAN interface. > 2. In a
2020 Feb 18
6
From network-scripts to NetworkManager on a router : questions
Le 18/02/2020 ? 12:28, Anand Buddhdev a ?crit?: > Neither. The DNS configuration should not normally be bound to a > specific interface, so don't configure it with any interface. If you do, > and that interface goes down, your DNS config also disappears. I would like to do that very much, only NetworkManager makes you jump through burning loops to do so. With network-scripts, it
2016 Aug 08
6
Gateway question
Hi There is a Centos 7 up-to-date box with 2 interfaces, let's say 192.168.1.12 - enp2s0, 192.168.1.13 on enp3s0. Default gateway on enp2s0. The gateway is pfsense, IP is 192.168.1.1 with 2 WAN connections On the gateway the outgoing traffic is routed by source ip to different WAN, 192.168.1.12 to WAN1 and 192.168.1.13 to WAN2 On the centos box are set all the route and routing rules:
2017 Apr 09
0
Network configuration: desktop vs. laptop
Hi Niki, On CentOS it's normal for both wireless and wired to be connected at the same time, maybe what you are seeing is just the icon's being confusing or not being replaced with the right thing? This is easy to check, just issue an "ip route". On My system I can see something like this: default via 192.168.0.1 dev eth0 proto static 192.168.0.0/24 dev eth0 proto kernel
2018 Dec 16
3
macvtap and tagged VLANs to the VM
Hi, I would like to run a network firewall as a VM on a KVM host. There are ~ 25 VLANs delivered to the KVM host on three dedicated links, no LACP or other things. I have the VLANs 100-180 on the host's enp1s0, the VLANs 200-280 on the host's enp2s0 and the VLANs 300-380 on the host's enp3s0. To save myself from configuring all VLANs on the KVM host, I'd like to hand the entire
2016 Aug 10
1
Gateway question
On Wed, Aug 10, 2016 at 09:29:15AM +0300, Levente Birta wrote: > I read the document again ... and this talk about accessing this multi-homed > host from the internet... > I have all this configured and working! You say this is working because of the output here? # ip route show default via 192.168.1.1 dev enp3s0 default via
2020 Jun 12
4
Minicom and Ncurses
Hi, I have to do some maintenance on a CentOS 7 proxy installed on a routerboard without a video card. The only way to access this machine directly is via Minicom and serial port. I'm using NetworkManager TUI (nmtui) to configure network interfaces, but Ncurses rendering in Minicom works in the sense that chickens fly and horses swim. What you get is a forest of question marks with a few
2017 Jan 16
2
NetworkManager vs. Firewalld vs. /etc/sysconfig/network-scripts/ifcfg-*****
I've made 3 CentOS 7 installation attempts to configure a simple firewall/router box with 2 nics. I got myself into a circular scenario where NetworkManager and firewalld and /etc/sysconfig/network-scrpts/ifcfg-***** were interfering or overwriting each other. Needed to perform ifdown enp3s7 on the internal LAN nic in order to make the external internet enp2s0 reach websites and ping
2016 Aug 09
2
Gateway question
On 09/08/2016 15:47, Jonathan Billings wrote: > On Tue, Aug 09, 2016 at 10:58:40AM +0300, Levente Birta wrote: >> What I don't understand why the route command allow to add a second default >> gateway with different interface, but the ip route command doesn't? > You can only have one default gateway. > > It sounds to me like you want to use both interfaces, which
2017 May 09
1
rpcbind fails to start after creating virbr0 bridge
Hi, In my office I have an HP Proliant server running CentOS 7. It's a minimal install without GUI. The machine has two network interface cards, and for now it's acting as gateway/firewall, and it's running ntpd, Dnsmasq and Rsnapshot. I'd like this machine to also be a KVM virtualization host, so I installed qemu-kvm and libvirt. The interface facing the LAN is enp3s0, so I
2015 Feb 19
4
Masquerading (packet forwarding) on CentOS 7
Hi, I just migrated my office's server from Slackware64 14.1 to CentOS 7. So far everything's running fine, I just have a few minor details to work out. I removed the firewalld package and replaced it by a simple Iptables script: --8<---------------------------------------------------- #!/bin/sh # # firewall-lan.sh IPT=$(which iptables) MOD=$(which modprobe) SYS=$(which sysctl)
2019 Jan 02
2
Erratic local hostname resolution with Dnsmasq
Hi, My local server is running CentOS 7. The machine has two NICs and is acting as a gateway. For DHCP and DNS, I'm using Dnsmasq. I have a strange little problem with local hostname resolution. Before going into more details, here's my configuration. [root at nestor:~] # ifconfig enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.2 netmask
2020 Jan 17
3
After upgrade to CentOS 8.1 default gateway missing
On Thu, 16 Jan 2020 15:34:43 +0100, Stephen John Smoogen <smooge at gmail.com> wrote: > On Thu, 16 Jan 2020 at 07:58, Asle Ommundsen <aommundsen at gmail.com> > wrote: >> >> Hi, >> >> Tonight I upgraded two CentOS 8 boxes to CentOS 8.1 (1911). Then after a >> reboot of the first server the network was unavailable. In IPMI console >>
2016 Aug 09
2
Gateway question
On 09/08/2016 06:56, Anthony K wrote: > On 08/08/16 21:05, Levente Birta wrote: >> >> But how can I add achieve this only with ip route command ... without >> route? >> Can I add this in any config files (ex: route-enp2s0)? >> > Hi Levente. > > The iproute2 man page for each command is rather well documented on > CentOS 7. For instance, to view the
2020 Feb 18
1
From network-scripts to NetworkManager on a router : questions
Le 18/02/2020 ? 17:43, Jonathan Billings a ?crit?: > According to 'man nm-settings-ifcfg-rh', PEERDNS=no is the old > network-services services mechanism for not changing /etc/resolv.conf, > while in NM it just means never add automatic nameservers to > resolv.conf from DHCP, PPP, VPN, etc. Turning off all DNS > updates means adding: > > [main] > dns=none >
2016 Aug 09
3
Gateway question
On 08/09/2016 12:03 PM, John R Pierce wrote: > those are both the same network, and the default gateway is a global > thing. packets forwarded to 192.168.1.1 could use either 192.168.1.12 > or .13, as they are all the same. in reality, they will use the first > match they find. Generally, but not necessarily. What Birta is trying to accomplish is called
2020 Jan 16
2
After upgrade to CentOS 8.1 default gateway missing
Hi, Tonight I upgraded two CentOS 8 boxes to CentOS 8.1 (1911). Then after a reboot of the first server the network was unavailable. In IPMI console everything except the network was looking good. Network was unreachable. No errors in NetworkManager. I also restarted NetworkManager, but it did not help. Then I discovered that the default gateway suddenly was missing. Then I rebooted the