LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2008, 05:18 AM   #1
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Rep: Reputation: 5
Help needed: Connecting to LAN


I have a pc which I have installed ubuntu 7.10 on and I have plugged in the LAN cable and our DHCP server has leased it an ip address:
192.168.0.x I can ping internal workstations but cannot ping the gateway (firewall - cisco pix) I have set up the firewall rule to allow from the inside interface (using the pc's ip) to the outside interface (all - 0.0.0.0) however I cannot ping the firewall which I can ping from my windows machine and cannot browse the web using firefox. I've mentioned this ordeal to a friend/collegue and she's going to have a look for me but if anyone else knows of anything please feel free to reply to this thread. If my friend can fix my problem I will post the solution up here......
 
Old 02-27-2008, 05:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well icmp can be very misleading with firewalls. if you do ping it, do you have an entry in your arp table after the failed ping has finished? that's what you should really look at to see if it's reachable or not. being able to ping other boxes really should prove that you can hit it. you're not doing anything wacky like transparent bridging through it or something like that?
 
Old 02-28-2008, 02:02 PM   #3
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
We have a linux server in a DMZ as well which does have internet so I copied its firewall rule and edited the interfaces as to be inside -> outside and then edited its ip and default mask to be what it should be for the leased ip from DHCP and it now pings the gateway but still cannot ping google.com or bbc.co.uk I think i may of got the default mask wrong so tommorow I will check that.
 
Old 02-29-2008, 05:37 AM   #4
tombelcher7
Member
 
Registered: Feb 2008
Location: Surrey
Distribution: Debian
Posts: 214

Original Poster
Rep: Reputation: 5
Problem resolved

All I had to do was to delete the rule recreate it save changes to cisco pix flash rom, then run on linux box:

ifdown eth0
ifup eth0
 
  


Reply

Tags
connection


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting LAN to a internet sridhar_dct3 Linux - Networking 4 05-23-2007 11:14 PM
connecting to network via LAN mohtasham1983 General 10 12-08-2005 12:21 PM
Connecting another LAN is impossible? odd-geir Linux - Networking 7 07-27-2005 06:03 PM
connecting to a lan with amigo mjdx88 Slackware 1 07-09-2004 12:34 AM
Need help connecting to LAN HoosTrax Linux - Networking 1 02-06-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration