[Xorp-hackers] xorp 1.83 is not work on freebsd 7.3, when config vlan
wxh585 at 126.com
wxh585 at 126.com
Sun Mar 20 19:10:06 PDT 2011
FreeBSD 7.3-RELEASE (GENERIC) #0: Sun Mar 21 06:15:01 UTC 2010
$ xorpsh
Welcome to XORP on r.d
admin at r.d> configure
Entering configuration mode.
There are no other users in configuration mode.
[edit]
admin at r.d# quit
admin at r.d> quit
$ uname -a
FreeBSD r.d 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010 root at walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 127.0.0.1.61150 127.0.0.1.19999 TIME_WAIT
tcp4 0 48 116.55.13.55.22 116.55.13.212.1816 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.19999 127.0.0.1.64903 ESTABLISHED
tcp4 0 0 127.0.0.1.64903 127.0.0.1.19999 ESTABLISHED
tcp4 0 0 127.0.0.1.19999 *.* LISTEN
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c4555000 stream 0 0 0 c4556738 0 0
c4556738 stream 0 0 0 c4555000 0 0
c4555888 stream 0 0 c457a450 0 0 0 /var/tmp/xrl.xlpzOw
c4555930 stream 0 0 c457a78c 0 0 0 /var/tmp/xrl.Ro92Hr
c4555dc8 stream 0 0 c4547cf0 0 0 0 /var/run/devd.pipe
c4556b28 dgram 0 0 0 c4556e70 0 0
c4556bd0 dgram 0 0 0 c4556dc8 0 0
c4556dc8 dgram 0 0 c45e433c 0 c4556bd0 0 /var/run/logpriv
c4556e70 dgram 0 0 c45e4450 0 c4556b28 0 /var/run/log
$ vty
Welcome to XORP on r.d
admin at r.d> configure
Entering configuration mode.
There are no other users in configuration mode.
[edit]
admin at r.d# set interfaces interface fxp1
[edit]
admin at r.d# commit
OK
[edit]
admin at r.d# save /router/run.conf
ERROR: Save failed.
File /router/run.conf exists, but an error occured when trying to check that it was OK to overwrite it
File was NOT overwritten
admin at r.d# save /router/run.conf
Save done.
admin at r.d# set interfaces interface fxp1.5 ?
Possible completions:
<[Enter]> Execute this command
default-system-config Use default values from the system
description Add a human-readable description of an interface
disable Disable a network interface
discard Configure a discard interface
iface-type Interface-type: VLAN.
mac Set the MAC address
management Configure a management interface
mtu Set the MTU
parent-ifname Parent interface this virtual belongs to.
unreachable Configure an unreachable interface
vid Virtual Interface Identifier: VLAN-ID for VLANs.
vif Configure a virtual interface
{ Enter text on multiple lines
admin at r.d# set interfaces interface fxp1.5 iface-type VLAN
[edit]
admin at r.d# commit
OK
[edit]
admin at r.d# set interfaces interface fxp1.5 vi
`vi' is ambiguous.
Possible completions:
vid Virtual Interface Identifier: VLAN-ID for VLANs.
vif Configure a virtual interface
admin at r.d# set interfaces interface fxp1.5 vid 5
[edit]
admin at r.d# set interfaces interface fxp1.5 parent-ifname fxp1
[edit]
admin at r.d# commit
Commit Failed
210 Transport failed[edit]
admin at r.d# Finder disconnected. No Finder?
admin at r.d# exit discard
[ 2011/03/21 02:04:39.342980 ERROR xorpsh:1125 XRL libxipc/xrl_router.cc:588 send ] NO FINDER
ERROR: failed to inform rtrmgr of leaving config mode. No Finder?
admin at r.d> quit
[ 2011/03/21 02:04:41.150857 ERROR xorpsh:1125 XRL libxipc/xrl_router.cc:588 send ] NO FINDER
$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 116.55.13.55.22 116.55.13.212.1817 ESTABLISHED
tcp4 0 0 127.0.0.1.64029 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.64875 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.60620 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.50171 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.19999 127.0.0.1.50475 TIME_WAIT
tcp4 0 48 116.55.13.55.22 116.55.13.212.1816 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.19999 127.0.0.1.64903 TIME_WAIT
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c4555c78 stream 0 0 0 c4555bd0 0 0
c4555bd0 stream 0 0 0 c4555c78 0 0
c4555000 stream 0 0 0 c4556738 0 0
c4556738 stream 0 0 0 c4555000 0 0
c4555dc8 stream 0 0 c4547cf0 0 0 0 /var/run/devd.pipe
c4556b28 dgram 0 0 0 c4556e70 0 0
c4556bd0 dgram 0 0 0 c4556dc8 0 0
c4556dc8 dgram 0 0 c45e433c 0 c4556bd0 0 /var/run/logpriv
c4556e70 dgram 0 0 c45e4450 0 c4556b28 0 /var/run/log
$ xorpsh
[ 2011/03/21 02:04:52.7276 WARNING xorpsh LIBXORP ] read error: _fd: 25 offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.111592 WARNING xorpsh LIBXORP ] read error: _fd: 25 offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.215830 WARNING xorpsh LIBXORP ] read error: _fd: 25 offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.320123 WARNING xorpsh LIBXORP ] read error: _fd: 25 offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.424408 WARNING xorpsh LIBXORP ] read error: _fd: 25 offset: 0 total-len: 4 error: Connection refused
--
王星海
电话:13312601392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20110321/85f02bd9/attachment-0001.html
More information about the Xorp-hackers
mailing list