Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
pfSense Forum
pfSense English Support
»
DHCP and DNS
»
can't set wan ip to static in pfsense 1.2.3 RC1
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Home
Help
Search
Login
Register
Pages:
1
2
[
All
]
Go Down
« previous
next »
Print
Author
Topic: can't set wan ip to static in pfsense 1.2.3 RC1 (Read 8366 times)
0 Members and 1 Guest are viewing this topic.
MrLOVER
Jr. Member
Offline
Posts: 31
can't set wan ip to static in pfsense 1.2.3 RC1
«
on:
November 25, 2009, 07:26:50 pm »
hi, once again a noob question.
here is what i have in my way...
ISP ---> ADSL Modem/router ---> pfsense server ---> local users.
i want to set my pfsense server's wan to a static ip 192.168.2.2
my dsl router's ip is 192.168.2.1.
but whenever i set my pfsense's wan ip to static, my local users are not able to connect to internet.
i want to set it to static so i can forward all ports from my dsl modem to my pfsense server and then i can forward them to any local user.
please guide me which steps i should take in setting up the wan ip static.
here is what i have tried.
i went in Interfaces tab and selected WAN interface. it was set to dhcp by default. i changed it to static and then i put 192.168.2.2 in ip and 192.168.2.1 in Gateway. thats all i did but local users are not able to connect to internet yet.
please help, thanks alot
edit: please don't use any difficult terms in your answer. im new to pfsense as well as in networking. i'll be thank full if you tell me what to do and how to do. thanks
«
Last Edit: November 25, 2009, 07:28:44 pm by MrLOVER
»
Logged
haxs
Newbie
Offline
Posts: 2
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #1 on:
November 26, 2009, 03:07:47 am »
Hello,
When you set the static IP on your pfsense box what did you set the subnet mask to ( I think it defaults to /32 ) ?
H
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #2 on:
November 26, 2009, 07:29:09 am »
Quote from: haxs on November 26, 2009, 03:07:47 am
Hello,
When you set the static IP on your pfsense box what did you set the subnet mask to ( I think it defaults to /32 ) ?
H
oh yeah, i have always left it at 32, but now i just tested it by 24 but it is still not working.
let me give you a little more details.
whenever i connect my pc direct to the dsl modem, i set my pc to static ip like this
ip: 192.168.2.2
subnet: 255.255.255.0
default gatway: 192.168.2.1
prefered dns: 192.168.2.1
alt dns: (blank)
and i can use internet on my pc with these settings. but whenever i put ip, subnet mask and default gateway to my pfsense it doesn't work. i think may be one thing is missing? that is prefered dns
i didn't find any option in pfsense to set it,
plz help, thanks
EDIT: and by the way whenever i set my pfsense wan to dhcp, users can use internet
«
Last Edit: November 26, 2009, 07:32:46 am by MrLOVER
»
Logged
haxs
Newbie
Offline
Posts: 2
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #3 on:
November 26, 2009, 04:18:28 pm »
You can find your DNS servers in System > General setup, what do you have there at the moment?
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #4 on:
November 26, 2009, 07:13:43 pm »
Quote from: haxs on November 26, 2009, 04:18:28 pm
You can find your DNS servers in System > General setup, what do you have there at the moment?
they are empty at the moment. i'll check by setting dns after few hours. now i can't break internet connectivity to my users, will update here
thanks a lot
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #5 on:
November 26, 2009, 10:38:50 pm »
A couple of questions: try getting the ip info in dhcp mode and post that. e.g. gateway, dns, subnet mask, etc... Also, is it possible to set the adsl modem/router into bridge mode? If so, that would make things much simpler for you.
Logged
wallabybob
Hero Member
Online
Posts: 4808
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #6 on:
November 27, 2009, 06:02:28 pm »
If pfSEnse gets its WAN IP address from DHCP it will normally also get the DNS addresses from DHCP also. Hence if you set a static WAN IP you will normally have to configure DNS IP addreses in pfSense.
You may be able to configure your ADSL modem to always give your pfSense the same IP address (by tieing the IP adress to the MAC address of the pfSense WAN interface). This will mean the DNS IP address will get propagated from the ADSL modem and your pfSense WAN IP address wll always be the same. Works for me!
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #7 on:
November 28, 2009, 12:30:42 pm »
Quote from: danswartz on November 26, 2009, 10:38:50 pm
A couple of questions: try getting the ip info in dhcp mode and post that. e.g. gateway, dns, subnet mask, etc... Also, is it possible to set the adsl modem/router into bridge mode? If so, that would make things much simpler for you.
DHCP results in my pfsense WAN interface:
IP address 192.168.2.10
Subnet mask 255.255.255.0
Gateway 192.168.2.1
ISP DNS servers 192.168.2.1
Media 100baseTX <full-duplex>
In/out packets 6987844/5670544 (2.65 GB/960.32 MB)
In/out errors 0/0
Collisions 0
im using ZTE ZXDSL 831 series dsl modem/router. it supports bridging. but i don't know how to work with bridging...
furthermore, all i need to do is portforwarding with ease. so i want static ip for my pfsense server. i have set my dsl modem's dhcp server to only one ip, this has solved my problem for sometime. but i think static ip is more better choice here. you can tell me if bridging will solve the problem ?
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #8 on:
November 28, 2009, 02:24:15 pm »
bridging is always better in this kind of situation, since it removes one level of routing and NAT. unless there is something that you need to be able to access on the adsl unit, i would just put it it bridging mode and ignore it from then on.
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #9 on:
November 28, 2009, 03:35:57 pm »
Quote from: danswartz on November 28, 2009, 02:24:15 pm
bridging is always better in this kind of situation, since it removes one level of routing and NAT. unless there is something that you need to be able to access on the adsl unit, i would just put it it bridging mode and ignore it from then on.
wow it means my pfsense server will connect to my main isp without any interference of my dsl modem? and i will not need to forward ports on my dsl modem to my pfsense server? please tell me how to do bridging if this is so. this is what i want. thanks
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #10 on:
November 28, 2009, 03:49:12 pm »
i have no idea, it depends on your adsl modem - if it is capable of bridging, there should be something in the docs for that.
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #11 on:
November 28, 2009, 03:55:52 pm »
Quote from: danswartz on November 28, 2009, 03:49:12 pm
i have no idea, it depends on your adsl modem - if it is capable of bridging, there should be something in the docs for that.
can you please help by team viewer? or any other remote software please?
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #12 on:
November 28, 2009, 03:57:15 pm »
no, sorry.
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #13 on:
November 28, 2009, 04:04:54 pm »
ok i will manage bridging on my dsl, can you tell me what changes i will have to make in my pfsense after setting my modem on bridging?
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #14 on:
November 28, 2009, 04:09:13 pm »
depends on how the ISP is delivering the connection. if you have to go on the router to set bridging, look at how its WAN is set and do the same on pfsense WAN.
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #15 on:
November 28, 2009, 06:05:44 pm »
Quote from: danswartz on November 28, 2009, 04:09:13 pm
depends on how the ISP is delivering the connection. if you have to go on the router to set bridging, look at how its WAN is set and do the same on pfsense WAN.
ok, let me show you the screenshots of my dsl modem wan pages. please recommend me how, and where i will setup my pfsense server to start bridging between my dsl modem and pfsense server.
when i setup bridging mode on my dsl modem. i get these steps with these options.
Setp 1:
VPI = 8
VCI = 81
Service catagory = UBR Without PCR
Setp 2:
Protocol = Bridging
Encapsulation Mode = LLC/SNAP
and here the WAN setup finished with bridging mode.
Other info:
im using ZTE ZXDSL 831 Series ADSL Modem/router.
my isp giving me dsl with dynamic ip.
here are some screenshots of my modem.
screenshot 1 = the other page under my wan
screenshot 2 = my wan connections on modem
screenshot 3 = this is the step 1 that i described above
screenshot 4 = step 2 of setup.
please tell me now
«
Last Edit: November 28, 2009, 06:09:18 pm by MrLOVER
»
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #16 on:
November 28, 2009, 06:31:37 pm »
Unfortunately, this does not tell us what the modem was set to before
My best guess is DHCP, so try that...
Logged
MrLOVER
Jr. Member
Offline
Posts: 31
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #17 on:
November 28, 2009, 07:08:04 pm »
Quote from: danswartz on November 28, 2009, 06:31:37 pm
Unfortunately, this does not tell us what the modem was set to before
My best guess is DHCP, so try that...
ahh ok, im sorry for taking you time. if you could tell me what you need to know so i will try my best to tell you all that info?
Logged
danswartz
Hero Member
Offline
Posts: 1158
Re: can't set wan ip to static in pfsense 1.2.3 RC1
«
Reply #18 on:
November 28, 2009, 07:14:49 pm »
i have no idea - i don't have your modem or ISP info. just try DHCP on the pfsense WAN and see if it works.
Logged
Pages:
1
2
[
All
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Administrative
-----------------------------
=> Forum rules
=> Messages from the pfSense Team
=> Feedback
-----------------------------
pfSense English Support
-----------------------------
=> Installation and Upgrades
=> General Questions
=> 2.1 Snapshot Feedback and Problems
=> Post a bounty
===> Completed Bounties
===> Expired/Withdrawn Bounties
=> Hardware
=> Firewalling
=> NAT
=> CARP/VIPs
=> Routing and Multi WAN
=> Traffic Shaping
=> DHCP and DNS
=> IPv6
=> IPsec
=> PPTP
=> PPPoE Server
=> Captive Portal
=> webGUI
=> Wireless
=> SNMP
=> Packages
=> Virtualization installations and techniques
=> OpenVPN
=> Gaming
-----------------------------
Development/Documentation
-----------------------------
=> Documentation
=> Development
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
International Support
-----------------------------
=> Indonesian
=> Deutsch
=> Español
=> Français
=> Italiano
=> Russian
=> Nederlands
=> Norwegian
=> Portuguese
=> Polish
=> Romanian
=> Swedish
=> Turkish
-----------------------------
Retired
-----------------------------
=> 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
=> 1.2.1-RC Snapshot Feedback and Problems-RETIRED
=> 2.0-RC Snapshot Feedback and Problems - RETIRED
=> DNS Server testing area - RETIRED
Loading...