What is the public IP in this case?!!
I have an ASA firewall,i also have a Motorola router that is actually a modem and a router and an access point in the same time (3 in 1) ;however iam only intending to use the Motorola internal ports to connect to the external ASA port, when i finish the NAT rules (which translating the internal ASA network into the outside network which is 192.168.0.0/24 which is the internal network for the Motorola router) which one is the public IP address in this case?? i mean i might not be able to get to the ASA's internal IP from the Internet because it is the internal network for the Motorola...so in this case is my only public IP on the Internet in the Motorola's external IP ? which is the ISP's IP address provided???
I am really lost on this one, any help here is much appreciated.
Thanks
Hi,
Seems to me that your public IP address will be configured on the Motorola device. In most cases the device will probably be using DHCP to get the public IP address from the ISP and therefore the IP might sometimes change. Though naturally it might be a static public IP address as I don't know the thing is handled in your case.
If you wish to have a host/server reachable from the Internet then you would probably have to configure somekind of Static PAT (Port Forward) on the Motorola device or perhaps even Static NAT the public IP address from to the external IP of the ASA (from the network 192.168.0.0/24) so that all traffic that is allowed on the Motorola device will be forwarded to the ASA (because of the 1:1 Static NAT mapping of the IP addresses)
If you need to reach your internal network remotely and dont need to host anything directly to the public network then you might be able to set up VPN Client connection to the ASA.
If you dont know the public IP address then if its a DHCP IP address from the ISP you can always check your current public IP address through some site. I for example tend to go to www.ripe.net . It shows your current IP address on the site. Naturally there should be multiple other sites that show this information.
If your public IP address is static then the ISP probably has provided you some documentation which mentions the public IP address assigned to you when you got the Internet connection.
Also you might not need to configure NAT at all on the ASA since its not an edge device. You could simply let the internal networks of ASA and the Motorola device to communicate with their original IP addresses. This would naturally require that the Motorola device has a route for the ASA internal network on it pointing towards the external IP address of the ASA.
- Jouni
Similar Messages
-
What is the best practice in this case?
I want to create a vending machine simulation program.
The design will be something like this :
GUI----use----VendingMachine----has----ProductStorage
Previously, i want everything inside VendingMachine will be transparent from the GUI.
The GUI just use VendingMachine, and it has no knowledge about ProductStorage.
But then i realize that in order for the GUI to display the products, it has to use ProductStorage.
So i came up with adding this getter to VendingMachine class :
public ProductStorage getStorage()
return storage;
}I'm breaking the rules of encapsulation.
Is it okay to do this? What is the practice in this case?
Thanks,
Ang.GUI----use----VendingMachine----has----ProductStorage
Previously, i want everything inside VendingMachine will be transparent from the GUI.
The GUI just use VendingMachine, and it has no knowledge about ProductStorage.
But then i realize that in order for the GUI to display the products, it has to use ProductStorage.Not necessarily. You can expose the ProductStorage interface (did I get this right: methods such as getProductList(), getProductQuantity(String productId) ?), in VendingMachineImpl. That latter can simply delegates to its ProductStorage collaborator. The GUI code doesn't need to know this latter is a separate instance.
I'm breaking the rules of encapsulation.
Is it okay to do this? What is the practice in this case?Technically you're violating the so-called Law of Demeter, which as you mention means you reveal implementation details to the client - and makes it less flexible, if you ever want to move ProductStorage API in another class. For example it would exhibit transaction logic to the client code.
OK we're talking about a far-fetched exemple, part of an exercise, but in general you should avoid this. -
Coalesce or compress this index? what is the best solution in this case?
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biI have executed the following query on a specific index that I suspected to be smashed and got the following result
select
keys_per_leaf, count(*) blocks
from (
select sys_op_lbid (154813, 'L', jus.rowid) block_id,
count (*) keys_per_leaf
from xxx_table jus
where jus.id is not null
or jus.dat is not null
group by sys_op_lbid (154813, 'L', jus.rowid)
group by keys_per_leaf
order by keys_per_leaf;
keys_per_leaf blocks
1 80
2 1108
3 2816
4 3444
5 3512
6 2891
7 2579
8 2154
9 1943
10 1287
11 1222
12 1011
13 822
14 711
15 544
16 508
17 414
18 455
19 425
20 417
21 338
22 337
23 327
24 288
25 267
26 295
27 281
28 266
29 249
30 255
31 237
32 259
33 257
34 232
35 211
36 209
37 204
38 216
39 189
40 194
41 187
42 200
43 183
44 167
45 186
46 179
47 179
48 179
49 171
50 164
51 174
52 157
53 181
54 192
55 178
56 162
57 155
58 160
59 153
60 151
61 133
62 177
63 156
64 167
65 162
66 171
67 154
68 162
69 163
70 153
71 189
72 166
73 164
74 142
75 177
76 148
77 161
78 164
79 133
80 158
81 176
82 189
83 347
84 369
85 239
86 239
87 224
88 227
89 214
90 190
91 230
92 229
93 377
94 276
95 196
96 218
97 217
98 227
99 230
100 251
101 266
102 298
103 276
104 288
105 638
106 1134
107 1152
229 1
230 1 This is a 5 columns unique key index on (id number, dat date, id2 number, dat2 date type number).
Furthermore, a space analysis of this index using dbms_space.space_usage gives the following picture
Number of blocks with at least 0 to 25% free space = 0 -------> total bytes = 0
Number of blocks with at least 25-50% free space = 75 -------> total bytes = ,5859375
Number of Blocks with with at least 50 to 75% free space = 0 -------> Total Bytes = 0
number of blocks with at least 75 to 100% free space = 0 -------> total bytes = 0
Number of full blocks with no free space = 99848 -------> total bytes = 780,0625
Total blocks ______________________________
99923
Total size MB______________________________
799,384It seems for me that this index needs to be either coalesced or compressed.
Then, what would be the best option in your opinion?
Thanks in advance
Mohamed Houri
Edited by: Mohamed Houri on 12-janv.-2011 1:18So let me continue my case
I first compressed the index as follows
alter index my_index rebuild compress 2;which immediately presents two new situations
(a) index space
Number of blocks with at least 0 to 25% free space = 0 -------> total bytes = 0
Number of blocks with at least 25-50% free space = 40 -------> total bytes =, 3125
Number of Blocks with at least 50 to 75% free space = 0 -------> total Bytes = 0
Number of blocks with at least 75 to 100% free space = 0 -------> total bytes = 0
Number of full blocks with no free space = 32361 -------> total bytes = 252, 8203125
Total blocks ______________________________
32401
Total size Mb______________________________
259,208meaning that the compress command freed up 67487 leaf blocks and reduced the size of the index from to 799,384 MB to 259,208 MB.
It also shows a relative nice pictue of number of keys per leaf block (when compared to the previous situation)
(b) on the number of key per leaf block
KEYS_PER_LEAF BLOCKS
4 1
6 1
13 1
15 1
25 1
62 1
63 1
88 1
97 1
122 1
123 3
124 6
125 4
126 2
289 4489
290 3887
291 3129
292 2273
293 1528
294 913
295 442
296 152
297 50
298 7
299 1 In a second step, I have coalesced the index as follows
alter index my_index coalesce;which produces the new figure
Number of blocks with at least 0 to 25% free space = 0 -------> total bytes = 0
Number of blocks with at least 25-50% free space = 298 -------> total bytes = 2,328125
Number of Blocks with at least 50 to 75% free space = 0 -------> Total Bytes = 0
Number of blocks with at least 75 to 100% free space = 0 -------> total bytes = 0
Number of full blocks with no free space = 32375 -------> total bytes = 252, 9296875
Total blocks ______________________________
32673
Total size MB______________________________
261,384meaning the the coalesce command has made
(a) 298-40 = 258 new blocks with 25-50% of free space
(b) 32375-32361 = 14 new additional blocks which have been made full
(c) The size of the index increased by 2,176MB (261,384-259,208)
While the number of key per leaf block keeps in the same situation
KEYS_PER_LEAF BLOCKS
4 2
5 3
9 1
10 2
12 1
13 1
19 1
31 1
37 1
61 1
63 1
73 1
85 1
88 1
122 1
123 4
124 4
125 3
126 1
289 4492
290 3887
291 3125
292 2273
293 1525
294 913
295 441
296 152
297 50
298 7
299 1 Could you please through some light on the difference between the compress and the coalesce on the effect they have made on
(a) the number of keys per leaf blocks within my index
(b) the space and size of my index?
Best regards
Mohamed Houri -
I use Time Machine to back up my entire computer with my external hard drive. I am getting a brand new iMac this month and was wondering what is the process of using this back up to restore my new computer exactly how my old computer was? I want to make sure I will still have various important files on my new computer, like my songs in iTunes, my photos in iPhoto, etc, etc. Thanks so much in advance!
Welcome to the Apple Support Communities
When you turn on the new iMac for the first time, Setup Assistant will ask you to restore a backup, so connect the external disk and follow steps to restore all your files to your new iMac. Your new Mac will have the same settings and programs as your old computer.
In other cases, I would recommend to restore the whole backup without using Migration Assistant or Setup Assistant, but a Late 2012 iMac uses a special OS X build, so the OS X version that you're using on your old Mac won't work on the new one. For more information, see > http://pondini.org/OSX/Home.html -
Hello, I wonder is there any additional charges applied after I removed my credit card info? I was being charged but i can't login to itunes couldn't check what items was being charged in this case. Anyone pls help, thanks.
When the regular customer service reps fail, try one of these:Send an email to the team at "[email protected]". Include:
Account number
Full name
Service address
Best contact phone number and best time to call
A description of the problem
One of their problem resolution specialists should contact you to follow up, usually by phone. They seem to be quite a bit sharper than the regular customer service reps.-OR-Use the feedback form at http://customer.xfinity.com/help-and-support/vp-contact-form.You might also try Twitter (https://twitter.com/ComcastCares/) and Facebook (https://www.facebook.com/Xfinity).
Comcast sometimes responds to questions here in the forums, and sometimes they do not. When they do the typical response time is somewhere between a few hours and a few days. -
Help Me.
What is the best solution for this problem ?Encore is activated when you activate Premiere Pro... so, as Stan asked, how did you install P-Pro?
Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link
-and a fix for Encore http://forums.adobe.com/thread/1421765?tstart=0 in reply #7
-plus more Encore http://helpx.adobe.com/encore/kb/cant-write-image-fie-larger1.html -
Can't log in message "what is the username associated with this smartphone​"
When I attempt to login to app world, I enter my email address and pw, and the it gives me a popup for - "what is the username associated with this smartphone". How do I find out what to enter here? (I don't remember what I may have used in the past).
Also, how can I be sure that I am using the right email address to login? I've tried my other emails and I get stopped before this screen since it doesn't recognize the email.
THanks for your helpHow can you do a security wipe if you cannot get past the blue BlackBerry ID login page?
-
What is the exact problem with this file?
Hi all,
There is an old form , which was not in use from many days.
Now when we tried to run the form, i got the error saying "FRM-40734:Internal Error:Pl/SQL error occured.", in the login form.
When i tried to open the fmb file in Oracle Forms Builder 6i, i got the following error:
FRM-10102: Cannot attach PL/SQL library d2kwutil. This library attachment will be lost if the module is saved., but the fmb file got open.
The login button has the following code:
DECLARE
UNAME VARCHAR2(30);
--USER_ID PARAMLIST;
V_USER APUSERMA.USER_NAME%TYPE;
V_PASSWED APUSERMA.USER_PASSWD%TYPE;
BEGIN
select user_CD INTO :GLOBAL.USER_ID from apuserma
where user_CD = :TI_USER_NAME AND user_PASSWD = :IT_USER_PASSWD
AND SYSDATE BETWEEN USER_VALID_FRM AND USER_VALID_TO;
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
:global.compname := :compname;
compnm(:compname);
--USER_ID := CREATE_PARAMETER_LIST('USER_id_NAME');
call_form('Forms\MAIN_SCREEN',hide,DO_REPLACE);
exception
when no_data_found then
MESSAGE('Incorrect Username or Password. Please Re-Enter');
message(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
EXIT_FORM;
When i tried to compile, i got error saying ,
Error 201 at line 10, column 28
identifier 'WIN_API_ENVIRONMENT.READ_REGISTRY' must be declared.
I am not getting to know What is the exact problem with this file?
Help me with this please.
Thank You.
Oracle forms builder 6i.
Oracle 9i.Vijetha wrote:
I also want to know what is the use of win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername') ??
What does it do??
If i comment the following line , will it be a problem??
:global.user_id := substr(win_api_environment.read_registry('HKEY_LOCAL_MACHINE\system\currentcontrolset\control\computername\computername','computername'),1,10);
Because i commented the above line & compiled, so it is not giving any error now.
So please tell me what win_api_environment.read_registry does??
it's read windows registry value. So, no problem if you comment it.
Thanks -
I accidentally deleted my media files from iTunes and Trash when I was trying to move the files to an external hard drive. Is there a way to restore the media files from a Time Machine backup or from iTunes Match? What are the steps to do this?
If you have been backing up on Timemachine.
All you need to do is enter time machine... Then the rest is obvious.
Find the iTunes folder and hit 'Restor'.
If not the only way to get all your iTunes music back is to enter iTunes Store.
On the right hand side you should see 'Purchased'.
Click 'purchased' and there you have it. -
What are the tables used for this Report
hi all..
i am a fresher for ABAP. i need the help.
what r the tables used for this report.
Reports provide pending order details according to Material wise and customer wise for particular month.
thanks in advance
RK.Ashokkumar.
9994262112.hi
good
try with these tables,
MARA
KNA1
thanks
mrutyun^ -
good day actually i purchase second hand iphone from Swiss and we i try to open it in Egypt the phone showing it's locked as it was working in Swiss, so no one will help me like Apple it self just i want to know what is the way to fix this issue please?
You need to find out who the carrier was in Switzerland and see if they will unlock the device. The carrier with the lock is the only one that can authorize the unlock. You may need to check with the original owner and see if they can get it unlocked by the carrier if you do not qualify.
-
I don't regularly use any apps beyond Windows Live, Facebook, Skype etc. but app crashes are becoming frequent and this recent blackout was disturbing. What are the potential causes of this and how can I avoid them in the future?
it's weird , your device is not jailbreraked and it crashes? my device is jailbreaked and i almost have the same problems.
look, to avoid these problems:
1- dont open too much apps , and if you do , close them by multitasking menu.
2-try sometimes to turn off and on your device , its like refreshing ( called "respringing" in jailbreaked devices.
if you have the same problem , see an apple specialist.
plz mask as helphul question.
thanks. -
What r the tables used for this report.
hi all..
i am a fresher for ABAP. i need the help.
what r the tables used for this report.
Reports provide pending order details according to Material wise and customer wise for particular month.
thanks in advance
RK.Ashokkumar.Hi Ashok,
this is easy to do.
Open Two SAP Screen with same user ID.
Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
Trace on ,Run the report in another screen.
Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
process,End trace process and Display track process.
The SQL trace will give you all the table details which is used in that particular report.
You have not mentioned about the report name so I have suggested this way.
regards,nishant
Please reward if this helps -
What is the protocol used in this code?
FileInputStream in = new FileInputStream("\\10.0.0.2\sharedFolder\data.txt");
by above line, we can read a file data.txt from remote computer (ip:10.0.0.2).
What is the protocol used in this input stream?
Thanksenglefly wrote:
FileInputStream in = new FileInputStream("\\10.0.0.2\sharedFolder\data.txt");
by above line, we can read a file data.txt from remote computer (ip:10.0.0.2).Not really, because you didn't escape your backslashes, but assuming you correct that,
What is the protocol used in this input stream?I think SMB.
EDIT: Too slow, shoulda refreshed :-)
Edited by: paul.miner on Jul 31, 2008 12:34 AM -
Has anyone done this update? Is this update worth it? what are the main features of this updates?
What version are you on now ? If you are on 5.1.0 then the update to 5.1.1 is very small - from here :
Improves reliability of using HDR option for photos taken using the Lock Screen shortcut
Addresses bugs that could prevent the new iPad from switching between 2G and 3G networks
Fixes bugs that affected AirPlay video playback in some circumstances
Improved reliability for syncing Safari bookmarks and Reading List
Fixes an issue where 'Unable to purchase' alert could be displayed after successful purchase
If you are on an earlier iOS version then you will get the intermediate updates as well e.g.
iOS 5.1 : http://support.apple.com/kb/DL1504
iOS 5.0.1 : http://support.apple.com/kb/DL1472
Maybe you are looking for
-
When my project launches from the LMS, the lauch window is smaller that the actual project size and requires the user to resize the window to see the whole project. My LMS administrator tells me that the launch window size is not controlled by the LM
-
Laser jet pro 200 will not copy
Hi, I have had my laser jet pro 200 for at least 6 months and only used it as a printer. For the first time today I tried to copy something and I got a blank piece of paper. I tried the flat bed as well as the feeder and same result. Hopefully th
-
Change color of ColdFusion comments in Dreamweaver CC 2014
Hi All, I've recently discovered Sublime Text 2, and really like their code coloring theme. 90% of my work still needs to be done in Dreamweaver. I was able to find a Colors.xml file I could use, that got it very close to looking like sublime text.
-
There seem to be a load of missing classes in WLS10. I've posted this in [url http://forums.bea.com/thread.jspa?threadID=300003116]http://forums.bea.com/thread.jspa?threadID=300003116 ( this newsgroup is fairly well hidden ) Thanks in advance -Giles
-
URL, Opentext in cProjects 4.0
Is it possible to integrate cProjects with OpenText DMS. Secondly, is it possible to provide a link (URL) of an external website or a portal url within any tab of project definition / details or additional data tab. The intention is to create a folde