mechanicus
05.08.08, 14:50
Wenn ich das richtig verstanden habe, muß ich mit tun/tap eine br0 (bridge) einrichten.
Nun habe ich aber bemerkt, daß bereits eine bridge existiert:
# ifconfig -a
(...)
virbr0 Link encap:Ethernet Hardware Adresse AE:B9:71:FC:EC:40
inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0
inet6 Adresse: fe80::acb9:71ff:fefc:ec40/64 Gültigkeitsbereich:Verbindung
(...)
Sie läßt sich sogar anpingen:
]$ ping 192.168.122.1
PING 192.168.122.1 (192.168.122.1) 56(84) bytes of data.
64 bytes from 192.168.122.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 192.168.122.1: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 192.168.122.1: icmp_seq=3 ttl=64 time=0.021 ms
^C
--- 192.168.122.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2202ms
rtt min/avg/max/mdev = 0.020/0.031/0.054/0.017 ms
Ich kann mit sftp dahin Verbindung aufnehmen:
$ sftp 192.168.122.1
Connecting to 192.168.122.1...
The authenticity of host '192.168.122.1 (192.168.122.1)' can't be established.
RSA key fingerprint is 36:24:af:11:ba:51:41:ac:96:c4:a2:8d:2c:35:44:80.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.122.1' (RSA) to the list of known hosts.
user@192.168.122.1's password:
sftp> exit
Ich habe kein XEN, sondern nur kvm und qemu installiert. Was ist diese virbr0 und kann ich sie für's Netzwerk mit qemu-kvm Gästen nutzen? Gibt es irgendwelche Doku's?
M.f.G. mechanicus
Nun habe ich aber bemerkt, daß bereits eine bridge existiert:
# ifconfig -a
(...)
virbr0 Link encap:Ethernet Hardware Adresse AE:B9:71:FC:EC:40
inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0
inet6 Adresse: fe80::acb9:71ff:fefc:ec40/64 Gültigkeitsbereich:Verbindung
(...)
Sie läßt sich sogar anpingen:
]$ ping 192.168.122.1
PING 192.168.122.1 (192.168.122.1) 56(84) bytes of data.
64 bytes from 192.168.122.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 192.168.122.1: icmp_seq=2 ttl=64 time=0.020 ms
64 bytes from 192.168.122.1: icmp_seq=3 ttl=64 time=0.021 ms
^C
--- 192.168.122.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2202ms
rtt min/avg/max/mdev = 0.020/0.031/0.054/0.017 ms
Ich kann mit sftp dahin Verbindung aufnehmen:
$ sftp 192.168.122.1
Connecting to 192.168.122.1...
The authenticity of host '192.168.122.1 (192.168.122.1)' can't be established.
RSA key fingerprint is 36:24:af:11:ba:51:41:ac:96:c4:a2:8d:2c:35:44:80.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.122.1' (RSA) to the list of known hosts.
user@192.168.122.1's password:
sftp> exit
Ich habe kein XEN, sondern nur kvm und qemu installiert. Was ist diese virbr0 und kann ich sie für's Netzwerk mit qemu-kvm Gästen nutzen? Gibt es irgendwelche Doku's?
M.f.G. mechanicus