| /l3/users/12-12-2011/NT-Lnet/debian1.net.nt/root :1 :2 :3 :4 :5 :6 :7 |
|
|
#ps aux|grep l3
root 1379 2.5 1.4 11940 7716 ? Ss 09:18 0:00 l3-agent root 1429 0.0 0.1 3880 776 pts/1 S+ 09:18 0:00 grep l3 |
|
#ps aux|grep l3
root 1379 0.1 1.4 11940 7720 ? Ss 09:18 0:01 l3-agent user 1537 0.0 1.4 12004 7712 ? Ss 09:20 0:00 l3-agent root 1667 0.0 0.1 3884 780 pts/1 S+ 09:38 0:00 grep l3 |
|
#screen
|
|
#exit
no exit |
|
#vim /etc/network/interfaces
--- /tmp/l3-saved-1719.6869.21012 2011-12-13 09:38:52.000000000 +0200
+++ /etc/network/interfaces 2011-12-13 09:39:24.000000000 +0200
@@ -6,3 +6,7 @@
address 192.168.16.1
netmask 255.255.255.0
gateway 192.168.16.254
+
+auto eth2
+ address 192.168.30.1
+ netmask 255.255.255.192
|
|
#/etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning). Reconfiguring network interfaces.../etc/network/interfaces:11: misplaced option ifdown: couldn't read interfaces file "/etc/network/interfaces" /etc/network/interfaces:11: misplaced option ifup: couldn't read interfaces file "/etc/network/interfaces" failed. |
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:00:00:01
inet addr:192.168.16.1 Bcast:192.168.16.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe00:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1393 errors:0 dropped:0 overruns:0 frame:0
TX packets:1013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:106891 (104.3 KiB) TX bytes:170195 (166.2 KiB)
Interrupt:5 Base address:0x2000
eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:01
...
RX bytes:0 (0.0 B) TX bytes:328 (328.0 B)
Interrupt:11 Base address:0x8200
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
|
|
#ping 192.168.30.62
PING 192.168.30.62 (192.168.30.62) 56(84) bytes of data. 64 bytes from 192.168.30.62: icmp_req=1 ttl=64 time=2.78 ms 64 bytes from 192.168.30.62: icmp_req=2 ttl=64 time=1.82 ms ^C --- 192.168.30.62 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 1.828/2.307/2.787/0.481 ms |
|
#ping 192.168.30.65
PING 192.168.30.65 (192.168.30.65) 56(84) bytes of data. ^C --- 192.168.30.65 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
|
#ssh root@192.168.16.21
The authenticity of host '192.168.16.21 (192.168.16.21)' can't be established.
DSA key fingerprint is 0a:54:02:23:35:67:a7:44:31:e7:ae:ec:12:e3:bb:31.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.21' (DSA) to the list of known hosts.
Password:
Last login: Tue Dec 13 11:20:51 2011 from net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|
|
#ssh root@192.168.16.21
Password:
Last login: Tue Dec 13 11:45:15 2011 from fobos.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|
|
#ssh root@192.168.16.21
Password:
Last login: Tue Dec 13 11:47:49 2011 from fobos.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|
|
#ssh root@192.168.16.21
Password:
Last login: Tue Dec 13 11:54:57 2011 from fobos.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|
|
#route
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.30.192 * 255.255.255.192 U 0 0 0 eth2 192.168.30.128 * 255.255.255.192 U 0 0 0 eth1 localnet * 255.255.255.0 U 0 0 0 eth0 default 192.168.30.129 0.0.0.0 UG 0 0 0 eth1 |
|
#ping 192.168.16.1
PING 192.168.16.1 (192.168.16.1) 56(84) bytes of data. 64 bytes from 192.168.16.1: icmp_req=1 ttl=64 time=27.1 ms 64 bytes from 192.168.16.1: icmp_req=2 ttl=64 time=1.19 ms ^C --- 192.168.16.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 1.197/14.163/27.130/12.967 ms |
|
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. ^C --- 192.168.30.1 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2013ms |
|
#exit
exit Connection to 192.168.16.2 closed. |
|
#ssh root@192.168.16.21
2
The authenticity of host '192.168.16.2 (192.168.16.2)' can't be established.
RSA key fingerprint is 3e:c3:8c:6f:e8:92:5b:31:dd:04:d2:51:48:57:c9:99.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.16.2' (RSA) to the list of known hosts.
root@192.168.16.2's password:
Linux debian2 2.6.32-5-686 #1 SMP Fri Sep 9 20:51:05 UTC 2011 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec 13 09:56:33 2011 from net.nt
l3-agent is already running: pid=1364; pidfile=/root/.lilalo/l3-agent.pid
l3-agent is already running: pid=1364; pidfile=/root/.lilalo/l3-agent.pid
|
|
#ping 192.168.30.1
PING 192.168.30.1 (192.168.30.1) 56(84) bytes of data. ^C --- 192.168.30.1 ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3013ms |
|
#ping 192.168.30.62
PING 192.168.30.62 (192.168.30.62) 56(84) bytes of data. ^C --- 192.168.30.62 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
|
#ping 192.168.30.65
PING 192.168.30.65 (192.168.30.65) 56(84) bytes of data. ^C --- 192.168.30.65 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 999ms |
|
#traceroute 192.168.30.1
traceroute to 192.168.30.1 (192.168.30.1), 30 hops max, 60 byte packets 1 192.168.30.129 (192.168.30.129) 1.458 ms 1.361 ms 1.355 ms 2 * * * 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * ... 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * *^C |
|
#exit
exit Connection to 192.168.16.2 closed. |
|
#ssh root@192.168.16.21
Password:
Last login: Tue Dec 13 11:55:02 2011 from fobos.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|
|
#ping 192.168.16.21
PING 192.168.16.21 (192.168.16.21) 56(84) bytes of data. From 192.168.16.1 icmp_seq=16 Destination Host Unreachable From 192.168.16.1 icmp_seq=17 Destination Host Unreachable From 192.168.16.1 icmp_seq=18 Destination Host Unreachable From 192.168.16.1 icmp_seq=19 Destination Host Unreachable From 192.168.16.1 icmp_seq=20 Destination Host Unreachable From 192.168.16.1 icmp_seq=21 Destination Host Unreachable From 192.168.16.1 icmp_seq=22 Destination Host Unreachable From 192.168.16.1 icmp_seq=23 Destination Host Unreachable From 192.168.16.1 icmp_seq=24 Destination Host Unreachable ... From 192.168.16.1 icmp_seq=39 Destination Host Unreachable 64 bytes from 192.168.16.21: icmp_req=40 ttl=64 time=1009 ms 64 bytes from 192.168.16.21: icmp_req=41 ttl=64 time=1.03 ms 64 bytes from 192.168.16.21: icmp_req=42 ttl=64 time=1.18 ms 64 bytes from 192.168.16.21: icmp_req=43 ttl=64 time=1.23 ms 64 bytes from 192.168.16.21: icmp_req=44 ttl=64 time=0.965 ms ^C --- 192.168.16.21 ping statistics --- 44 packets transmitted, 5 received, +24 errors, 88% packet loss, time 43117ms rtt min/avg/max/mdev = 0.965/202.745/1009.313/403.284 ms, pipe 3 |
|
#ssh root@192.168.16.21
Password:
Last login: Tue Dec 13 12:04:32 2011 from fobos.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 7.4-RELEASE (GENERIC) #0: Thu Feb 17 03:51:56 UTC 2011
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o Security advisories and updated errata information for all releases are
at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
for your release first as it's updated frequently.
...
http://www.FreeBSD.org/search/. If the doc distribution has
been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list. If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page. If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility. Edit /etc/motd to change this login announcement.
Removing stale pidfile
|