Hello to all,

        I want to make a CT to host a samba server, I made a veth for the CT 
and I 
bridged it to the CT0 interface, I also added the routes inside CT and CT0 as 
described in the wiki.
        But I'm not able to see samba exports of other hosts inside CT nor to 
export 
any directory. The network is working, so the problem should be the broadcast 
packets.

        CT0 and CT are Debian Lenny box, this is the configuration:

r...@ct0:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1c:c0:9f:cf:16  
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c0ff:fe9f:cf16/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:746467 errors:0 dropped:0 overruns:0 frame:0
          TX packets:242150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:564033915 (537.9 MiB)  TX bytes:49129374 (46.8 MiB)
          Memory:e0400000-e0420000 

venet0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:28024 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:27407115 (26.1 MiB)  TX bytes:29518379 (28.1 MiB)

veth104.0 Link encap:Ethernet  HWaddr 00:18:51:23:cb:85  
          inet6 addr: fe80::218:51ff:fe23:cb85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:638 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6139 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:132000 (128.9 KiB)  TX bytes:234087 (228.6 KiB)

vzbr0     Link encap:Ethernet  HWaddr 00:18:51:23:cb:85  
          inet6 addr: fe80::218:51ff:fe23:cb85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4640 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:356763 (348.4 KiB)  TX bytes:16536447 (15.7 MiB)

r...@ct0:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.55    *               255.255.255.255 UH    0      0        0 vzbr0
localnet        *               255.255.255.0   U     0      0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
r...@ct0:~# brctl show
bridge name     bridge id               STP enabled     interfaces
vzbr0           8000.00185123cb85       no              veth104.0


CT4:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.0.2.1       *               255.255.255.255 UH    0      0        0 venet0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
default         192.0.2.1       0.0.0.0         UG    0      0        0 venet0
CT4:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:18:51:17:10:04  
          inet addr:192.168.1.55  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:51ff:fe17:1004/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6139 errors:0 dropped:0 overruns:0 frame:0
          TX packets:638 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:234087 (228.6 KiB)  TX bytes:132000 (128.9 KiB)

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:1178 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1178 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:159490 (155.7 KiB)  TX bytes:159490 (155.7 KiB)

venet0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  
Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

        Anybody knows why I can see samba exports (using "smbtree" for example)?

        Thanks,

-- 
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to