View Single Post
Staro 07.09.2013., 13:57   #1258
cloaked
Registered User
 
Datum registracije: Jan 2013
Lokacija: Hrvatska
Postovi: 19
Moze li se na ddwrtu podesiti da je samo jedan port wan ulaz. Htio bih podesiti modem (bridge) => sx763 ddwrt => lan i wlan uredaji ali neznam kako odabrati wan port.

EDIT: Nisam uspio na ddwrt-u ali sa openwrt-om jesam pa evo moj config ako moze nekome pomoci:

Code:
config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config interface 'lan'
	option ifname 'eth0.1'
	option type 'bridge'
	option nat '1'
	option proto 'static'
	option ipaddr '192.168.1.2'
	option netmask '255.255.255.0'

config interface 'wan'
	option ifname 'eth0.2'
	option bridge 'false'
	option proto 'pppoe'
	option username '******@optinet'
	option password '******'

config switch 'eth0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'eth0'
	option vlan '1'
	option vid '1'
	option ports '2 3 4 5t'

config switch_vlan
	option device 'eth0'
	option vlan '2'
	option vid '2'
	option ports '1 5t'

config atm-bridge
	option unit '0'
	option encaps 'llc'
	option payload 'bridged'
	option vci '35'
	option vpi '0'
	option atmdev '1'

Zadnje izmijenjeno od: cloaked. 09.09.2013. u 02:41.
cloaked je offline   Reply With Quote