請問如何設定內部虛擬IP? - Linux

By Tracy
at 2015-01-10T20:39
at 2015-01-10T20:39
Table of Contents
debian有用pppoeconf撥號
但內部需要使用虛擬IP
在interface是這樣設定的
auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider
auto eth0
iface eth0 inet manual
address 192.168.1.12
netmask 255.255.255.0
gateway 192.168.1.1
這樣設定可以上網 但是內部IP無法使用
請問哪裡設定錯誤?感謝!
--
但內部需要使用虛擬IP
在interface是這樣設定的
auto lo
iface lo inet loopback
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up
provider dsl-provider
auto eth0
iface eth0 inet manual
address 192.168.1.12
netmask 255.255.255.0
gateway 192.168.1.1
這樣設定可以上網 但是內部IP無法使用
請問哪裡設定錯誤?感謝!
--
Tags:
Linux
All Comments
Related Posts
安裝完ubuntu後 原本的windows系統不見了

By Lydia
at 2015-01-10T00:52
at 2015-01-10T00:52
現在你可以下載北韓優質作業系統紅星3.0

By Edith
at 2015-01-10T00:01
at 2015-01-10T00:01
git可設定唯寫(write-only)嗎?

By Brianna
at 2015-01-09T14:37
at 2015-01-09T14:37
Ubuntu 14.04升級gcin預設英文輸入問題

By Freda
at 2015-01-09T08:07
at 2015-01-09T08:07
為什麼 14.04 用 kernel 3.13?

By Freda
at 2015-01-08T14:05
at 2015-01-08T14:05