search for: networkscripts

Displaying 20 results from an estimated 26 matches for "networkscripts".

2007 May 24
2
OT: Racoon with virtual ip (roadwarrior client)
Hi all, Somebody can explains me how can I configure ipsec-tools package to use private virtual ip address as an openswan does or some doc/howto about it?? I have seen this howto, but doesn't works for me: http://www.howtoforge.com/racoon_roadwarrior_vpn Many thanks. -- CL Martinez carlopmart {at} gmail {d0t} com
2007 Apr 18
1
Centos 4.4 or 5 and HP Proliant network card teaming function
Hi, has anyone enabled using centos, the proliant functionality of "teaming" the two integrated network cards, to be seen as one by the network switch? This is available in a nice GUI in windows. but i have no idea how to do that on linux. -- ------------------------------------------------------------ Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros
2013 Feb 14
1
Set an Ethernet Interface Metric
...lags Metric Ref Use Iface 0.0.0.0 192.168.X.Y 0.0.0.0 UG 10 0 0 eth0 [0] http://www.cyberciti.biz/faq/rhel-fedora-centos-setup-routing-metric-networkdevice/ [1] https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/s1-networkscripts-interfaces.html [2] https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-interfaces.html Have a great day, -- ---~~.~~--- Mike // SilverTip257 //
2015 Feb 20
1
Help with routing question.
On Thu, February 19, 2015 12:33, Les Mikesell wrote: > On Thu, Feb 19, 2015 at 9:48 AM, James B. Byrne > <byrnejb at harte-lyne.ca> wrote: >> >>> I added these directives to the route-eth0:192 file: >>> >>> ADDRESS0=192.168.6.9 >>> NETMASK0=255.255.255.0 >>> GATEWAY0=192.168.6.1 >>> >> >> Which should have been:
2009 Oct 14
2
Best practice settings for channel bonding interface mode?
...N. The switches are all new cisco models. I've read sone docs (1), (2) and (3) so the theory is mostly clear. Thanks for any suggestion or hint, Best regards, G?tz (1) http://www.linuxhorizon.ro/bonding.html (2) http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-networkscripts-interfaces.html#s2-networkscripts-interfaces-chan (3) http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-modules-ethernet.html#s2-modules-bonding -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Film...
2009 Apr 28
2
adding static route via network setup fails
...dev xenbr1 proto kernel scope link src 192.168.2.3 192.168.1.0/24 dev xenbr0 proto kernel scope link src 192.168.1.24 default via 192.168.1.1 dev xenbr0 I found: http://www.cyberciti.biz/faq/redhat-centos-fedora-linux-static-routing/ http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s1-networkscripts- static-routes.html tells me to use sysconfig/route-xenbr1 But whatever syntax I try I get a variety of errors: Bringing up interface xenbr1: Error: an inet address is expected rather than "1"..168.2.3 Bringing up interface xenbr1: Error: an inet prefix is expected rather than &quo...
2017 May 30
3
IPv6 addresses order (CentOS6)
Hello, in /etc/sysconfig/network-scripts/ifcfg-eth0 I have this <ifcfg-eth0> ... IPV6INIT=yes IPV6ADDR=prefix::5 IPV6ADDR_SECONDARIES="prefix::2 prefix::3 prefix::4" IPV6_AUTOCONF=no IPV6_DEFAULTGW=prefix::1 IPV6_DEFAULTDEV=eth0 </ifcfg-eth0> when I enter ifconfig the IPv6 addresses are in a different order <ifconfig> eth0 Link encap:Ethernet HWaddr ... inet addr:...
2012 Feb 01
2
ip route and nexthop: the "CentOS" way
...s: ip route default scope global \ nexthop via 192.168.1.1 dev eth1 weight 1 \ nexthop via 192.168.0.1 dev eth0 weight 2 However, I've re-read the RHEL6 documents for configuring static routes here: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-networkscripts-static-routes.html This kind of thing doesn't seem to fit into the scheme of /etc/sysconfig/network-scripts/route-eth? described there, since the route isn't "for" any single interface. Is there a "RHEL/CentOS" way to do this, or do I need to resort to some sort of scr...
2015 Feb 19
3
Help with routing question.
...ppropriate to reach the next-hop router specified in your > routes. > I created a file called /etc/sysconfig/network-scripts/route-eth0:192 and in accordance with the instructions obtained at: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-networkscripts-static-routes-network-netmask-directives.html I added these directives to the route-eth0:192 file: ADDRESS0=192.168.6.9 NETMASK0=255.255.255.0 GATEWAY0=192.168.6.1 However, when I restart the network service I see this: service network restart Shutting down interface eth0:...
2016 Mar 18
2
Networking in KVM
...to modify your network-scripts to make that happen automatically on boot. You do not necessarily need an IP address on your bridge interface unless the VM host is acting as a router (default gateway). https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html Here's an example: ~]# cat /etc/sysconfig/network-scripts/ifcfg-XX_br0 DEVICE=XX_br0 TYPE=Bridge BOOTPROTO=static ONBOOT=yes DELAY=0 NM_CONTROLLED=no You can temporarily add an interface to the bridge group for testing purposes though. brctl addif <bridge>...
2015 Mar 12
6
Centos 6 - Persistant static routes
I know how to use 'ip' to set up a static route, e.g.: ip route add 192.168.128.0/17 via 40.53.24.3 dev eth0 But if you reboot or restart network, you loose this. Thus you have to make it persistant. I found: http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html where it says to add to ifcfg-eth0: 192.168.128.0/17 via 40.53.24.3 But this
2016 Mar 21
0
Networking in KVM
...="">You do not necessarily need an IP address on your bridge interface unless the VM host is acting as a router (default gateway).</div><div style=""><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html" target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces_network-bridge.html</a><br /></div><div style=""><br /></div>&l...
2015 Mar 12
0
Centos 6 - Persistant static routes
...mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > I have used this document [0] in the past and it worked for me, let me know if it works for you. [0] https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-networkscripts-static-routes-network-netmask-directives.html -- Kind Regards Earl Ramirez
2015 Jul 06
2
Centos 7 Server Forgets IPv6 Address On Reboot
My Centos 7 server has started to forget its IPv6 address on a reboot. This causes problems with services being unable to start up. It's easy enough to fix each time (ip addr add ...), but it would be nice to be able to convince it to retain that information. Presumably, there's a file somewhere under /etc/sysconfig that should contain this information - does anyone know where it should
2017 May 31
0
IPv6 addresses order (CentOS6)
...er.h at mathemainzel.info> wrote: > > is there a way to influence the order? Not sure what your use of multiple IPs is. . . but I'd probably use an interface alias instead of secondary. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-alias.html
2012 Aug 06
0
bonding and ifcfg config
...uot; GATEWAY="........." HWADDR=".........." NM_CONTROLLED="..." TYPE="............" UUID="............" Thanks for any suggestion and best regards . G?tz [1] http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-networkscripts-interfaces-chan.html http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Using_Channel_Bonding.html -- G?tz Reinicke IT-Koordinator Tel. +49 7141 969 82 420 Fax +49 7141 969 55 420 E-Mail goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg GmbH Ak...
2012 Aug 16
2
default gateway outside of the LAN
...ally we get the following error: RTNETLINK answers: No such process When we use ifup we get the following: Error: either "to" is a duplicate, or "10.1.1.1" is a garbage. A little discussion of this can be found here: http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-static-routes.html and here: http://www.linuxquestions.org/questions/linux-networking-3/etc-init-d-networking-restart-errors-637610/ It does not help us, however. Any tips much appreciated. Cheers, Boris.
2014 Feb 19
2
bridge network question
I have centos 64 6.5 I installed bridge-utils I installed tunctl I added BRIDGE=br0 to ifcfg-eth0 I created ifcfg-br0 with correct settings I did service network restart and I get an error about br0 not present. When I plug in the second network (USB to ethernet) It detects as eth1 What do I need to change to get this to work. Thanks, jerry
2014 Jul 11
1
How to have two interfaces with dhcp using networkd but taking the dns/ntp stuff from only one
Ok, we can take both but needs to be in a specific order. So, we have two ethernet interfaces, A and B. And both are defined in /etc/systemd/network/ to use dhcp. How to guarantee that the crap provided by dhcp to A (dns, gateway, ntp) is the default? To use an example, /etc/resolv.conf should end up like nameserver IP.for.A.DNS nameserver IP.for.B.DNS domain A.domain.com Now, this must be done
2009 Mar 26
6
CentOS VPN server for iPhone
So far, OpenVPN has been working very well for me. Unfortunately, the iPhone doesn't have (yet?) an OpenVPN client, so I'm forced to work with what's available. The options are: L2TP, PPTP and IPSec. If you were to install a VPN endpoint on CentOS, which protocol would you prefer? The condition is to avoid shabby VPN servers that make the system less secure. I've seen some