search for: ifdown

Displaying 20 results from an estimated 191 matches for "ifdown".

2013 Jul 09
9
One resource immediately after another
I need to apply three resources one immediatelly after another. It''s a ifdown/ifup commands, and command to generate /etc/network/interfaces file. I need to do ifdown, then rebuild interfaces, then ifup. I try to add simple relationship, but in this case some File resources are trying to be applied between ifdown and ifup. So they can''t connect to Puppet master t...
2012 May 17
1
Centos 6 - Networking: Some Queries
...n, where one network card is providing LAN access on which Internet Router is configured. And now I am posting my system's condition below as output of various commands. My network-scripts directory: [root at swyam network-scripts]# ls ifcfg-Internet_GW ifup-eth ifcfg-lo ifup-ippp ifdown ifup-ipv6 ifdown-bnep ifup-isdn ifdown-eth ifup-plip ifdown-ippp ifup-plusb ifdown-ipv6 ifup-post ifdown-isdn ifup-ppp ifdown-post ifup-routes ifdown-ppp ifup-sit ifdown-routes ifup-tunnel ifdown-sit ifup-wireless ifdown-tu...
2006 Oct 12
2
[PATCH][RFC] do ifdown netdev before shutting down vif0
I''ve been trying to track down an occasional system hang when doing /etc/xen/scripts/network-bridge stop. Would it be reasonable to do the fdown ${netdev} and then set ${vif0} down to provide ifdown with a behavior that is as close as possible to a real network card? Signed- off- by: Kirk Allan <kallan@novell.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Jun 08
0
xen-4 dom0 bridge failed to bring up eth1
...C num=1; dev=eth1 gw=194.95.57.33 log=/var/tmp/diag.xen_net.log sleep=15 (echo start; ifconfig $dev | grep MTU; netstat -rn; ping -c 3 -q $gw | grep loss /etc/init.d/xenbridges start $num; brctl show; ifconfig $dev | grep MTU; netstat -rn; ping -c 3 -q $gw | grep loss sleep $sleep;date; echo test1 ifdown; ifdown $dev ; sleep 3; ifup $dev; echo "enum=$?" brctl show; ifconfig $dev | grep MTU; netstat -rn; ping -c 3 -q $gw | grep loss sleep $sleep;date; echo test2 ifdown; ifdown $dev ; sleep 3; ifup $dev; echo "enum=$?" brctl show; ifconfig $dev | grep MTU; netstat -rn; ping -c 3...
2011 Aug 08
1
[socket.h] add (more) missing definitions
Hello, to compile kexec-tools statically against klibc we still need a patch for socket.h, otherwise: | kexec/ifdown.c:46:16: error: 'SIOCGIFCONF' undeclared (first use in this function) | kexec/ifdown.c:46:16: note: each undeclared identifier is reported only once for each function it appears in | kexec/ifdown.c:65:18: error: 'SIOCSIFFLAGS' undeclared (first use in this function) In fact: lib/k...
2016 Sep 18
2
答复: How to disable CTDB pulling up NICs
If eth0 holds virtual IP as its secondary IP and I bring down eth0 by command "ifdown eth0", CTDB will automatically pull eth0 up. Sometime it goes wrong. The virtual IP becomes primary IP, and origin primary IP turns into a secondary IP or just missing. If the origin primary IP is missing, I have to run "ifup eth0" though CTDB has pulled eth0 up. CTDB uses “ip link s...
2008 Aug 26
5
restarting static-routes-ipv6
I want to change the contents of my /etc/sysconfig/static-routes-ipv6 and NOT restart the network. Is there a way to do this??? I know about ifup and ifdown for interfaces, but what about routing (and IP6 at that).
2019 Jan 30
2
Applying changes to route-eth0
I have a series of static routes in route-eth0 Recently I had to made changes and could not find an effective way to get the old routes out and the new routes in. ifdown-route seems to apply the content of route-eth0 to take down the routes listed and ifup-route brings up routes based on route- So what ends up is that the old routes never go away, just new routes added. ifdown eth0; ifup eth0 works, but is a bit heavy-handed for only changing routes. So how do...
2016 Sep 21
1
答复: 答复: How to disable CTDB pulling up NICs
Thank you very much for reply. Our test team insists on simulating network failure by using ifdown instead of just unpluging the cable. I have to modify the event script 10.interface. When noticing a NIC failure, CTDB just marks the NIC down and do not try to pull it up. It seems to work fine. -----邮件原件----- 发件人: Martin Schwenke [mailto:martin at meltin.net] 发送时间: 2016年9月18日 18:49 收件人: Weidong...
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
...cp", hwaddr => "00:00:00:ab:cd:f0", } } Unfortunately, there''s a problem with this method. On Red Hat systems, you should stop networking before you change the HWADDR values in ifcfg-eth* files. If you don''t stop networking beforehand, Red Hat''s ifdown script chokes, and Puppet will just sit there, trying and trying to restart Service["network"]. Of course, a reboot will fix the problem, as will a manual restart of the network service. Here''s what would be nice: a metaparameter that tells Puppet to perform some action before...
2006 Feb 02
4
Virtual Interface
Hi Guys, I want to create multiple virtual interfaces on a system running linux 2.6. The main requirment being, to assign unique MAC address fo each of the virtual interfaces. I need to know, if this is possible and will really appriciate if someone can provide me pointer in this direction. Thanks a lot. R. Singh _______________________________________________ LARTC mailing list
2015 Feb 18
3
Disable/stop nic in a virtual guest with virsh
...t like if I unplug network >> cable ... Is it possible?? I have tried with "detach-interface" >> command without luck. I don't want to remove the nic from guest >> configuration, only to stop the nic ... > > Depending on your network architecture you could just ifdown > the vmnet, but this just works if you don't have multiple > vms on one vmnet (which you shouldn't). > > HTH > > -- Ok, to do a ifdown of virtual bridge it seems the only option. Many thanks to all for your answers.
2011 Sep 27
2
Dashboard parameters to control VIPs?
Some of the Red Hat Enterprise Linux servers in our environment sometimes get assigned virtual IP addresses (eth0:1, eth0:2, etc). Puppet Dashboard''s parameters seem like an ideal way to define and provision virtual IPs on these servers. One could create a "vip1" parameter on a node, and define a value of the IP address to use for that vip. A manifest could then be written to
2017 Feb 13
8
CentOS 7, systemd, NetworkMangler, oh, my
My manager tells me a system in the datacenter is down. I go down there, and plug in a monitor-on-a-stick and keyboard. It's up, but no network. I try systemctl restart NetworkManager several times, and ip a shows *no* change. Finally, I do an ifdown, followed by an ifup, and everything's wonderful. My manager thinks that the NM daemon thinks everything's fine, and there've been no changes, so it does nothing. He suggests that it might have to be stopped, then started, rather than restarted. This is completely unacceptable behavio...
2007 May 31
2
4.5 ALB Bonding Hang on Shutdown
Since I upgraded from 4.4 to 4.5 my system which has 2 sets of ALB bonded interfaces hangs on shutdown while doing an ifdown on these interfaces. Has anyone else seen this issue with 4.5 and bonding? Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com __________________________...
2006 Sep 13
4
Lingering dhclient issue
I recently reconfigured some CentOS 4.3 systems that were using DHCP to use static IP addresses. At the same time, the systems were moved to a new VLAN. Here is the approximate sequence of events that took place: 1. ifdown eth0 2. edit /etc/sysconfig/network-scripts/ifcfg-eth0 with static IP address 3. wait for network folks to reconfigure switch 4. ifup eth0 I may have reversed steps 1 and 2 on some of the systems. The problem was that the dhclient process didn't go away, and kept renewing the old...
2004 Apr 21
4
Resetting network device / skb leak
...e. However, in network_open() the call to NETOP_RESET_RINGS seems to clear all the pointers to the old skbs, and network_alloc_rx_buffers() allocs a bunch of new ones. It suppose that means I have just leaked a whole bunch of skbs. I know the standard suspend/resume code performs almost a full ifup/ifdown (which I cannot do in my case) but I don''t see any skb-freeing code in that case either? I have tried dev_kfree_skb()''ing the contents of the np->rx_skbs[1:] array before calling network_open, but doing so just crashes Linux :-( Any ideas? Jacob --------------------------...
2015 Nov 16
1
About IPv6 Link-Local Address(CentOS5)
...cripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO="none" ONBOOT=yes HWADDR=08:00:27:83:74:54 IPADDR=192.168.11.8 NETMASK=255.255.255.0 IPV6INIT=yes IPV6ADDR=2000:8000:12:6:192:168:11:8/64 IPV6_DEFAULTGW=2000:7000:12:6::1 ? link up # ethtool eth1 Settings for eth1: ? Link detected: yes # ifdown eth1 # ifup eth1 # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 08:00:27:83:74:54 inet addr:192.168.11.8 Bcast:192.168.11.255 Mask:255.255.255.0 inet6 addr: fe80::a00:27ff:fe83:7454/64 Scope:Link ?? inet6 addr: 2000:8000:12:6:192:168:11:8/64 Scope:Glob...
2010 Mar 13
2
Asterisk on MPLS VPN
.... the first NIC (eth0) has IP of 172.16.0.1 and is connected to router with WAN IP: 10.18.6.254 , the second IP is 203.234.82.98 (eth1). i want to have the internet access to this machine at all times as i need to pull out reports etc. Problem : both NICs dont work together i.e i have to do ifdown eth0 to ping yahoo.com (via second nic) and i have to do ifup eth0 and ifdown eth1 to ping the router IP of MPLS VPN that is 10.18.6.254. The resolve.conf has nameservers of both ISP as well as MPLS - VPN that the provider gave. I get a Request timed out if i try to keep both interfaces up and do a...
2011 Oct 12
3
Emergency help needed on host network randomly stop working.
...st. About 2 weeks ago, the host randomly lost network connection. By this I mean I could not connect to the services on it, or ping it. Also was the status of the guest. From serial console, I connected to the host, trying to see what happened. No clue (any error messages) in messages or dmesg. ifdown/ifup the interface did not help, either. Only rebooting was my only choice. Searching through Google, I got the information that some other guys met similar problem, and resolved by setting stp on with the bridge interface. I set it, too. And the problem still occurs. Any idea what I should c...