Dear All,
Temen2 mohon bantua saya mencoba setting samba di network yang berbeda tidak
bisa terkoneksi ya kalau saya coba dengan network yang sama bisa terkoneksi.
untuk mesin linux 192.168.90.2 saya coba ping dan remote ke mesin linux dari
komp client bisa reply.
Berikut gambaran topologi jaringannya
Internet
||eth1
||
Mikrotik ===== Linux Proxy + samba [eth3] 192.168.90.2 gw 192.168.90.1
||
||eth2 Local 192.168.1.254
||
switch
||
||
||
Client
IP Adrees 192.168.1.x
gw 192.168.1.254
Berikut saya lampirkan configurasi smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2010-07-05
[global]
workgroup = MSHOME
server string = SK-Net
interfaces = lo,192.168.90.2
hosts allow = 127.0.0.1,192.168.1.0
passdb backend = tdbsam
security = share
domain master = Yes
domain logos = No
wins support = Yes
os level = 33
preferred master = Yes
#printing = cups
#printcap name = cups
#printcap cache time = 750
#cups options = raw
map to guest = Bad User
#include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
#[profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700
[share]
comment = All users
path = /home/share
#read only = No
writeable = Yes
browseable = Yes
inherit acls = Yes
create mask = 0666
#veto files = /aquota.user/groups/shares/
#[groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes
#[printers]
# comment = All Printers
# path = /var/tmp
# printable = Yes
# create mask = 0600
# browseable = No
#[print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# write list = @ntadmin root
# force group = ntadmin
# create mask = 0664
# directory mask = 0775
Routing Table mikrotik
================
[admin@SK-NET] > ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 Speedy 1
1 DS 0.0.0.0/0 192.168.0.1 1
2 DS 0.0.0.0/0 118.x.x.x 1
3 ADC 118.x.x.x/32 118.x.x.x
Speedy 0
4 ADC 192.168.0.0/24 192.168.0.10 Modem 0
5 ADC 192.168.1.0/24 192.168.1.254 Local 0
6 ADC 192.168.90.0/24 192.168.90.1 Proxy 0
Routing table linux
================
proxysknet:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.90.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.90.1 0.0.0.0 UG 0 0 0 eth0
Atas bantuan saya ucapkan terima kasih
Salam
Hendro
______________________________________________
---
Info Milis : http://opensuse.or.id/milis
Keluar dari Milis : Kirim email ke [email protected]
Manajemen Keanggotaan :
http://lists.opensuse-id.org/listinfo.cgi/milis-opensuse-id.org