From adel.safi at imag.fr Wed Dec 16 14:45:38 2009 From: adel.safi at imag.fr (Adel ESSAFI) Date: Wed, 16 Dec 2009 12:45:38 -0200 Subject: ip forward Message-ID: Hi list In my school, I need to have a PC that act like router since I have not public addresses. I have followed many link ( http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the doc of fedora ....). All tell the same thing. Unfortunally, When I follow them, I have no results! When I ping an adsress from a windows PC (192.168.10.7) I have no response. here is my configuration. Can you help plz Regards ps: I am on fedora 10 and iptables is disabled. [root localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) Interrupt:17 eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) [root localhost ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 41.229.61.0 * 255.255.255.0 U 0 0 0 eth0 192.168.10.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 1002 0 0 eth0 default 41.229.61.65 0.0.0.0 UG 0 0 0 eth0 [root localhost ~]# iptables iptables v1.4.3.2: no command specified Try `iptables -h' or 'iptables --help' for more information. [root localhost ~]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Added by Cinelerra RPM from RPM Fusion kernel.shmmax = 0x7fffffff -- http://ilovefedora.blogspot.com/ -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From smoseman at novolink.net Wed Dec 16 15:11:37 2009 From: smoseman at novolink.net (Scott Moseman) Date: Wed, 16 Dec 2009 15:11:37 -0000 Subject: ip forward In-Reply-To: References: Message-ID: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Don't you need to have your 2nd interface be physical, not an alias? From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Wednesday, December 16, 2009 8:46 AM To: redhat-sysadmin-list at redhat.com Subject: ip forward Hi list In my school, I need to have a PC that act like router since I have not public addresses. I have followed many link (http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the doc of fedora ....). All tell the same thing. Unfortunally, When I follow them, I have no results! When I ping an adsress from a windows PC (192.168.10.7) I have no response. here is my configuration. Can you help plz Regards ps: I am on fedora 10 and iptables is disabled. [root localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) Interrupt:17 eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) [root localhost ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 41.229.61.0 * 255.255.255.0 U 0 0 0 eth0 192.168.10.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 1002 0 0 eth0 default 41.229.61.65 0.0.0.0 UG 0 0 0 eth0 [root localhost ~]# iptables iptables v1.4.3.2: no command specified Try `iptables -h' or 'iptables --help' for more information. [root localhost ~]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Added by Cinelerra RPM from RPM Fusion kernel.shmmax = 0x7fffffff -- http://ilovefedora.blogspot.com/ -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From adel.safi at imag.fr Wed Dec 16 15:47:38 2009 From: adel.safi at imag.fr (Adel ESSAFI) Date: Wed, 16 Dec 2009 13:47:38 -0200 Subject: ip forward In-Reply-To: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: I have a a single network card. I know someone whoi have done this with only a single card. 2009/12/16 Scott Moseman > Don?t you need to have your 2nd interface be physical, not an alias? > > > > > > > > > > *From:* redhat-sysadmin-list-bounces at redhat.com [mailto: > redhat-sysadmin-list-bounces at redhat.com] *On Behalf Of *Adel ESSAFI > *Sent:* Wednesday, December 16, 2009 8:46 AM > *To:* redhat-sysadmin-list at redhat.com > *Subject:* ip forward > > > > > Hi list > In my school, I need to have a PC that act like router since I have not > public addresses. > > I have followed many link ( > http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the > doc of fedora ....). > All tell the same thing. > > Unfortunally, When I follow them, I have no results! When I ping an > adsress from a windows PC (192.168.10.7) I have no response. > > here is my configuration. > > Can you help plz > > Regards > ps: I am on fedora 10 and iptables is disabled. > > > > > > > [root localhost ~]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 > inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) > Interrupt:17 > > eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) > > [root localhost ~]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 41.229.61.0 * 255.255.255.0 U 0 0 0 > eth0 > 192.168.10.0 * 255.255.255.0 U 0 0 0 > eth0 > link-local * 255.255.0.0 U 1002 0 0 > eth0 > default 41.229.61.65 0.0.0.0 UG 0 0 0 > eth0 > [root localhost ~]# iptables > iptables v1.4.3.2: no command specified > Try `iptables -h' or 'iptables --help' for more information. > [root localhost ~]# cat /etc/sysctl.conf > # Kernel sysctl configuration file for Red Hat Linux > # > # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and > # sysctl.conf(5) for more details. > > # Controls IP packet forwarding > net.ipv4.ip_forward = 1 > > # Controls source route verification > net.ipv4.conf.default.rp_filter = 1 > > # Do not accept source routing > net.ipv4.conf.default.accept_source_route = 0 > > # Controls the System Request debugging functionality of the kernel > kernel.sysrq = 0 > > # Controls whether core dumps will append the PID to the core filename. > # Useful for debugging multi-threaded applications. > kernel.core_uses_pid = 1 > > # Added by Cinelerra RPM from RPM Fusion > kernel.shmmax = 0x7fffffff > > > > > > -- > http://ilovefedora.blogspot.com/ > -- > http://ilovefedora.blogspot.com/ > > -- > > PhD candidate in Computer Science > Address > BP 108, Bureau de poste Tunis republique > 1001 Tunis > Tunisia > tel: +216 97 246 706 > fax: +216 71 391 166 > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From adelessafi at gmail.com Wed Dec 16 16:17:06 2009 From: adelessafi at gmail.com (Adel ESSAFI) Date: Wed, 16 Dec 2009 14:17:06 -0200 Subject: ip forward In-Reply-To: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: I have a a single network card. I know someone whoi have done this with only a single card. 2009/12/16 Scott Moseman > Don?t you need to have your 2nd interface be physical, not an alias? > > > > > > > > > > *From:* redhat-sysadmin-list-bounces at redhat.com [mailto: > redhat-sysadmin-list-bounces at redhat.com] *On Behalf Of *Adel ESSAFI > *Sent:* Wednesday, December 16, 2009 8:46 AM > *To:* redhat-sysadmin-list at redhat.com > *Subject:* ip forward > > > > > Hi list > In my school, I need to have a PC that act like router since I have not > public addresses. > > I have followed many link ( > http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the > doc of fedora ....). > All tell the same thing. > > Unfortunally, When I follow them, I have no results! When I ping an > adsress from a windows PC (192.168.10.7) I have no response. > > here is my configuration. > > Can you help plz > > Regards > ps: I am on fedora 10 and iptables is disabled. > > > > > > > [root localhost ~]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 > inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) > Interrupt:17 > > eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) > > [root localhost ~]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 41.229.61.0 * 255.255.255.0 U 0 0 0 > eth0 > 192.168.10.0 * 255.255.255.0 U 0 0 0 > eth0 > link-local * 255.255.0.0 U 1002 0 0 > eth0 > default 41.229.61.65 0.0.0.0 UG 0 0 0 > eth0 > [root localhost ~]# iptables > iptables v1.4.3.2: no command specified > Try `iptables -h' or 'iptables --help' for more information. > [root localhost ~]# cat /etc/sysctl.conf > # Kernel sysctl configuration file for Red Hat Linux > # > # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and > # sysctl.conf(5) for more details. > > # Controls IP packet forwarding > net.ipv4.ip_forward = 1 > > # Controls source route verification > net.ipv4.conf.default.rp_filter = 1 > > # Do not accept source routing > net.ipv4.conf.default.accept_source_route = 0 > > # Controls the System Request debugging functionality of the kernel > kernel.sysrq = 0 > > # Controls whether core dumps will append the PID to the core filename. > # Useful for debugging multi-threaded applications. > kernel.core_uses_pid = 1 > > # Added by Cinelerra RPM from RPM Fusion > kernel.shmmax = 0x7fffffff > > > > > > -- > http://ilovefedora.blogspot.com/ > -- > http://ilovefedora.blogspot.com/ > > -- > > PhD candidate in Computer Science > Address > BP 108, Bureau de poste Tunis republique > 1001 Tunis > Tunisia > tel: +216 97 246 706 > fax: +216 71 391 166 > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRoystone at nea.org Wed Dec 16 16:26:33 2009 From: JRoystone at nea.org (JRoystone at nea.org) Date: Wed, 16 Dec 2009 11:26:33 -0500 Subject: ip forward In-Reply-To: References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: Make a new network script Do it like this: Cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 # Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet DEVICE=eth0:0 BOOTPROTO=none BROADCAST=199.23.200.255 HWADDR=00:11:43:37:06:D5 IPADDR=199.23.200.90 NETMASK=255.255.255.0 NETWORK=199.23.200.0 ONBOOT=yes TYPE=Ethernet P Please consider the environment and support telework J.R. Roystone, Unix/Linux Administrator NEA ETS 202 822 7547 From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Wednesday, December 16, 2009 11:17 AM To: redhat-sysadmin-list at redhat.com Subject: Re: ip forward I have a a single network card. I know someone whoi have done this with only a single card. 2009/12/16 Scott Moseman Don't you need to have your 2nd interface be physical, not an alias? From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Wednesday, December 16, 2009 8:46 AM To: redhat-sysadmin-list at redhat.com Subject: ip forward Hi list In my school, I need to have a PC that act like router since I have not public addresses. I have followed many link (http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the doc of fedora ....). All tell the same thing. Unfortunally, When I follow them, I have no results! When I ping an adsress from a windows PC (192.168.10.7) I have no response. here is my configuration. Can you help plz Regards ps: I am on fedora 10 and iptables is disabled. [root localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) Interrupt:17 eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) [root localhost ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 41.229.61.0 * 255.255.255.0 U 0 0 0 eth0 192.168.10.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 1002 0 0 eth0 default 41.229.61.65 0.0.0.0 UG 0 0 0 eth0 [root localhost ~]# iptables iptables v1.4.3.2: no command specified Try `iptables -h' or 'iptables --help' for more information. [root localhost ~]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Added by Cinelerra RPM from RPM Fusion kernel.shmmax = 0x7fffffff -- http://ilovefedora.blogspot.com/ -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 ******************************************************************* Only the individual sender is responsible for the content of the message, and the message does not necessarily reflect the position or policy of the National Education Association or its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.baer at dokom21.de Wed Dec 16 17:35:59 2009 From: t.baer at dokom21.de (t.baer at dokom21.de) Date: Wed, 16 Dec 2009 18:35:59 +0100 Subject: =?iso-8859-1?q?AUTO=3A_Torsten_B=E4r_ist_au=DFer_Haus=2E_=28R=FC?= =?iso-8859-1?q?ckkehr_am_28=2E12=2E2009=29?= Message-ID: Ich bin bis 28.12.2009 abwesend Guten Tag und vielen Dank f?r Ihre Nachricht. Leider bin ich zurzeit au?er Haus. Ab dem 28.12.2009 bin ich wieder f?r Sie da. Ihre E-Mail wird nicht automatisch weitergeleitet, daher werde ich Ihre Mitteilung erst nach meiner R?ckkehr bearbeiten. In dringenden F?llen wenden Sie sich gerne an meine Vertretung Herr Jan Welte unter der Rufnummer 0231.930-94 03 oder per E-Mail j.welte at dokom21.de. Mit freundlichen Gr??en Torsten B?r Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht " redhat-sysadmin-list Digest, Vol 58, Issue 2" gesendet am 16.12.2009 17:26:50. Diese ist die einzige Benachrichtigung, die Sie empfangen werden, w?hrend diese Person abwesend ist. Telefonieren und surfen ohne Kompromisse! Alle Komfort-Leistungen zum Festpreis mit DOKOM21 komfort. Gratis dazu: den SONY Blu-ray player BDP-S360! Nur bis zum 30.11.2009. Weitere Informationen unter www.dokom21.de/komfort Gesch?ftsf?hrer: J?rg Figura, Manfred Langguth, Franz-Josef Senf Sitz der Gesellschaft: Dortmund Registergericht: Amtsgericht Dortmund HRB 12299 From adelessafi at gmail.com Thu Dec 17 20:06:46 2009 From: adelessafi at gmail.com (Adel ESSAFI) Date: Thu, 17 Dec 2009 18:06:46 -0200 Subject: ip forward In-Reply-To: References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: 2009/12/16 > Make a new network script > > Do it like this: > > > > Cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 > > # Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet > > DEVICE=eth0:0 > > BOOTPROTO=none > > BROADCAST=199.23.200.255 > > HWADDR=00:11:43:37:06:D5 > > IPADDR=199.23.200.90 > > NETMASK=255.255.255.0 > > NETWORK=199.23.200.0 > > ONBOOT=yes > > TYPE=Ethernet > I still do not succed to have the needed result. [root at localhost ~]# ping -I eth0:1 www.google.com Warning: cannot bind to specified iface, falling back: No such device PING www.l.google.com (209.85.129.103) from 192.168.1.100 eth0:1: 56(84) bytes of data. 64 bytes from fk-in-f103.1e100.net (209.85.129.103): icmp_seq=1 ttl=48 time=218 ms 64 bytes from fk-in-f103.1e100.net (209.85.129.103): icmp_seq=2 ttl=48 time=232 ms > > > P > > Please consider the environment and support telework > > > > J.R. Roystone, Unix/Linux Administrator > > NEA ETS 202 822 7547 > > > > *From:* redhat-sysadmin-list-bounces at redhat.com [mailto: > redhat-sysadmin-list-bounces at redhat.com] *On Behalf Of *Adel ESSAFI > *Sent:* Wednesday, December 16, 2009 11:17 AM > > *To:* redhat-sysadmin-list at redhat.com > *Subject:* Re: ip forward > > > > > I have a a single network card. I know someone whoi have done this with > only a single card. > > > 2009/12/16 Scott Moseman > > Don?t you need to have your 2nd interface be physical, not an alias? > > > > > > > > > > *From:* redhat-sysadmin-list-bounces at redhat.com [mailto: > redhat-sysadmin-list-bounces at redhat.com] *On Behalf Of *Adel ESSAFI > *Sent:* Wednesday, December 16, 2009 8:46 AM > *To:* redhat-sysadmin-list at redhat.com > *Subject:* ip forward > > > > > Hi list > In my school, I need to have a PC that act like router since I have not > public addresses. > > I have followed many link ( > http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the > doc of fedora ....). > All tell the same thing. > > Unfortunally, When I follow them, I have no results! When I ping an > adsress from a windows PC (192.168.10.7) I have no response. > > here is my configuration. > > Can you help plz > > Regards > ps: I am on fedora 10 and iptables is disabled. > > > > > > > [root localhost ~]# ifconfig > eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 > inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) > Interrupt:17 > > eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E > inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:17 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) > > [root localhost ~]# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 41.229.61.0 * 255.255.255.0 U 0 0 0 > eth0 > 192.168.10.0 * 255.255.255.0 U 0 0 0 > eth0 > link-local * 255.255.0.0 U 1002 0 0 > eth0 > default 41.229.61.65 0.0.0.0 UG 0 0 0 > eth0 > [root localhost ~]# iptables > iptables v1.4.3.2: no command specified > Try `iptables -h' or 'iptables --help' for more information. > [root localhost ~]# cat /etc/sysctl.conf > # Kernel sysctl configuration file for Red Hat Linux > # > # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and > # sysctl.conf(5) for more details. > > # Controls IP packet forwarding > net.ipv4.ip_forward = 1 > > # Controls source route verification > net.ipv4.conf.default.rp_filter = 1 > > # Do not accept source routing > net.ipv4.conf.default.accept_source_route = 0 > > # Controls the System Request debugging functionality of the kernel > kernel.sysrq = 0 > > # Controls whether core dumps will append the PID to the core filename. > # Useful for debugging multi-threaded applications. > kernel.core_uses_pid = 1 > > # Added by Cinelerra RPM from RPM Fusion > kernel.shmmax = 0x7fffffff > > > > > > -- > http://ilovefedora.blogspot.com/ > -- > http://ilovefedora.blogspot.com/ > > -- > > PhD candidate in Computer Science > Address > BP 108, Bureau de poste Tunis republique > 1001 Tunis > Tunisia > tel: +216 97 246 706 > fax: +216 71 391 166 > > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > > > > > -- > http://ilovefedora.blogspot.com/ > > -- > > PhD candidate in Computer Science > Address > BP 108, Bureau de poste Tunis republique > 1001 Tunis > Tunisia > tel: +216 97 246 706 > fax: +216 71 391 166 > ******************************************************************* > Only the individual sender is responsible for the content of the > message, and the message does not necessarily reflect the position > or policy of the National Education Association or its affiliates. > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From JRoystone at nea.org Fri Dec 18 11:05:43 2009 From: JRoystone at nea.org (JRoystone at nea.org) Date: Fri, 18 Dec 2009 06:05:43 -0500 Subject: ip forward In-Reply-To: References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: Did you change the HW ADDR to reflect your MAC address? Like this: HWADDR=00:18:8B:DB:7E:9E P Please consider the environment and support telework J.R. Roystone, Unix/Linux Administrator NEA ETS 202 822 7547 From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Thursday, December 17, 2009 3:07 PM To: redhat-sysadmin-list at redhat.com Subject: Re: ip forward 2009/12/16 Make a new network script Do it like this: Cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 # Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet DEVICE=eth0:0 BOOTPROTO=none BROADCAST=199.23.200.255 HWADDR=00:11:43:37:06:D5 IPADDR=199.23.200.90 NETMASK=255.255.255.0 NETWORK=199.23.200.0 ONBOOT=yes TYPE=Ethernet I still do not succed to have the needed result. [root at localhost ~]# ping -I eth0:1 www.google.com Warning: cannot bind to specified iface, falling back: No such device PING www.l.google.com (209.85.129.103) from 192.168.1.100 eth0:1: 56(84) bytes of data. 64 bytes from fk-in-f103.1e100.net (209.85.129.103): icmp_seq=1 ttl=48 time=218 ms 64 bytes from fk-in-f103.1e100.net (209.85.129.103): icmp_seq=2 ttl=48 time=232 ms P Please consider the environment and support telework J.R. Roystone, Unix/Linux Administrator NEA ETS 202 822 7547 From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Wednesday, December 16, 2009 11:17 AM To: redhat-sysadmin-list at redhat.com Subject: Re: ip forward I have a a single network card. I know someone whoi have done this with only a single card. 2009/12/16 Scott Moseman Don't you need to have your 2nd interface be physical, not an alias? From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Adel ESSAFI Sent: Wednesday, December 16, 2009 8:46 AM To: redhat-sysadmin-list at redhat.com Subject: ip forward Hi list In my school, I need to have a PC that act like router since I have not public addresses. I have followed many link (http://www.ducea.com/2006/08/01/how-to-enable-ip-forwarding-in-linux/, the doc of fedora ....). All tell the same thing. Unfortunally, When I follow them, I have no results! When I ping an adsress from a windows PC (192.168.10.7) I have no response. here is my configuration. Can you help plz Regards ps: I am on fedora 10 and iptables is disabled. [root localhost ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:41.229.61.107 Bcast:41.229.61.255 Mask:255.255.255.0 inet6 addr: fe80::218:8bff:fedb:7e9e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3183 errors:0 dropped:0 overruns:0 frame:0 TX packets:3256 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:872353 (851.9 KiB) TX bytes:476139 (464.9 KiB) Interrupt:17 eth0:1 Link encap:Ethernet HWaddr 00:18:8B:DB:7E:9E inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:17 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16623 errors:0 dropped:0 overruns:0 frame:0 TX packets:16623 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:495159 (483.5 KiB) TX bytes:495159 (483.5 KiB) [root localhost ~]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 41.229.61.0 * 255.255.255.0 U 0 0 0 eth0 192.168.10.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 1002 0 0 eth0 default 41.229.61.65 0.0.0.0 UG 0 0 0 eth0 [root localhost ~]# iptables iptables v1.4.3.2: no command specified Try `iptables -h' or 'iptables --help' for more information. [root localhost ~]# cat /etc/sysctl.conf # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Added by Cinelerra RPM from RPM Fusion kernel.shmmax = 0x7fffffff -- http://ilovefedora.blogspot.com/ -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 ******************************************************************* Only the individual sender is responsible for the content of the message, and the message does not necessarily reflect the position or policy of the National Education Association or its affiliates. -- redhat-sysadmin-list mailing list redhat-sysadmin-list at redhat.com https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 ******************************************************************* Only the individual sender is responsible for the content of the message, and the message does not necessarily reflect the position or policy of the National Education Association or its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomh0665 at gmail.com Fri Dec 18 13:59:27 2009 From: tomh0665 at gmail.com (Tom H) Date: Fri, 18 Dec 2009 14:59:27 +0100 Subject: ip forward In-Reply-To: References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> Message-ID: <6d4219cc0912180559q39709c98sec4cecaf70879bf1@mail.gmail.com> >> Make a new network script >> Cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 >> DEVICE=eth0:0 >> BOOTPROTO=none >> BROADCAST=199.23.200.255 >> HWADDR=00:11:43:37:06:D5 >> IPADDR=199.23.200.90 >> NETMASK=255.255.255.0 >> NETWORK=199.23.200.0 >> ONBOOT=yes >> TYPE=Ethernet > I still do not succeed to have the needed result. Please post the ifcfg-... and route-... files that you have in /etc/sysconfig/network-scripts/. From adelessafi at gmail.com Fri Dec 18 14:11:15 2009 From: adelessafi at gmail.com (Adel ESSAFI) Date: Fri, 18 Dec 2009 12:11:15 -0200 Subject: ip forward In-Reply-To: <6d4219cc0912180559q39709c98sec4cecaf70879bf1@mail.gmail.com> References: <19B0C067F9F2D84DAD4CE51BE93E774C783F84@hou-exch01.novolink.com> <6d4219cc0912180559q39709c98sec4cecaf70879bf1@mail.gmail.com> Message-ID: 2009/12/18 Tom H > >> Make a new network script > >> Cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 > >> DEVICE=eth0:0 > >> BOOTPROTO=none > >> BROADCAST=199.23.200.255 > >> HWADDR=00:11:43:37:06:D5 > >> IPADDR=199.23.200.90 > >> NETMASK=255.255.255.0 > >> NETWORK=199.23.200.0 > >> ONBOOT=yes > >> TYPE=Ethernet > > > I still do not succeed to have the needed result. > > Please post the ifcfg-... and route-... files that you have in > /etc/sysconfig/network-scripts/. > > -- > redhat-sysadmin-list mailing list > redhat-sysadmin-list at redhat.com > https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list > [adel at localhost network-scripts]$ cat ifcfg-eth* # Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express DEVICE=eth0 HWADDR=00:18:8b:db:7e:9e BOOTPROTO=none TYPE=Ethernet ONBOOT=yes USERCTL=no IPV6INIT=no NM_CONTROLLED=no PEERDNS=no NETMASK=255.255.255.0 IPADDR=192.168.1.100 GATEWAY=192.168.1.1 # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. DEVICE=eth0:0 BOOTPROTO=none BROADCAST=192.168.10.255 HWADDR=00:18:8b:db:7e:9e IPADDR=192.168.10.10 NETMASK=255.255.255.0 NETWORK=192.168.10.0 ONBOOT=yes TYPE=Ethernet [adel at localhost network-scripts]$ cat *route* #! /bin/bash # # Drops static routes which go through device $1 if [ -z "$1" ]; then echo $"usage: ifup-routes []" exit 1 fi # The routes are actually dropped just by setting the link down, so nothing # needs to be done MATCH='^[[:space:]]*(\#.*)?$' # Routing rules FILES="/etc/sysconfig/network-scripts/rule-$1" if [ -n "$2" -a "$2" != "$1" ]; then FILES="$FILES /etc/sysconfig/network-scripts/rule-$2" fi for file in $FILES; do if [ -f "$file" ]; then { cat "$file" ; echo ; } | while read line; do if [[ ! "$line" =~ $MATCH ]]; then /sbin/ip rule del $line fi done fi done #! /bin/bash # # adds static routes which go through device $1 if [ -z "$1" ]; then echo $"usage: ifup-routes []" exit 1 fi handle_file () { . $1 routenum=0 while [ "x$(eval echo '$'ADDRESS$routenum)x" != "xx" ]; do eval `ipcalc -p $(eval echo '$'ADDRESS$routenum) $(eval echo '$'NETMASK$routenum)` line="$(eval echo '$'ADDRESS$routenum)/$PREFIX" if [ "x$(eval echo '$'GATEWAY$routenum)x" != "xx" ]; then line="$line via $(eval echo '$'GATEWAY$routenum)" fi line="$line dev $2" /sbin/ip route add $line routenum=$(($routenum+1)) done } FILES="/etc/sysconfig/network-scripts/route-$1" if [ -n "$2" -a "$2" != "$1" ]; then FILES="$FILES /etc/sysconfig/network-scripts/route-$2" fi MATCH='^[[:space:]]*(\#.*)?$' for file in $FILES; do if [ -f "$file" ]; then if egrep -q '^[[:space:]]*ADDRESS[0-9]+=' $file ; then # new format handle_file $file ${1%:*} else # older format { cat "$file" ; echo ; } | while read line; do if [[ ! "$line" =~ $MATCH ]]; then /sbin/ip route add $line fi done fi fi done # Red Hat network configuration format NICK=${2:-$1} CONFIG="/etc/sysconfig/network-scripts/$NICK.route" [ -f $CONFIG ] && handle_file $CONFIG $1 # Routing rules FILES="/etc/sysconfig/network-scripts/rule-$1" if [ -n "$2" -a "$2" != "$1" ]; then FILES="$FILES /etc/sysconfig/network-scripts/rule-$2" fi for file in $FILES; do if [ -f "$file" ]; then { cat "$file" ; echo ; } | while read line; do if [[ ! "$line" =~ $MATCH ]]; then /sbin/ip rule add $line fi done fi done -- http://ilovefedora.blogspot.com/ -- PhD candidate in Computer Science Address BP 108, Bureau de poste Tunis republique 1001 Tunis Tunisia tel: +216 97 246 706 fax: +216 71 391 166 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mamatec-ml at mamatec.com Mon Dec 21 12:35:38 2009 From: mamatec-ml at mamatec.com (Fred) Date: Mon, 21 Dec 2009 13:35:38 +0100 Subject: RAID on Sun server X4600 Message-ID: <5a74509f0912210435mc3576cblff134aea24ba1e41@mail.gmail.com> Hi all. I have RH installed on a Sun server X4600 and I 'd like to know if there is a raid Hw on the boot disks configured. I managed to look at the /proc/scsi/scsi and it seems to be an LSI Logic and the output is Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: LSILOGIC Model: Logical Volume Rev: 3000 Type: Direct-Access ANSI SCSI revision: 02 Usually you see after LSILOGIC Model an IM (radi 0 ) or IS (raid 1) but on this I only can see Logical Volume. Do you know why? how can I look at the raid configuration? TIA Fred -------------- next part -------------- An HTML attachment was scrubbed... URL: