Skip to main content

The 10 Best B&Bs in Madrid, Spain

Check out our pick of great B&Bs in Madrid

Filter by:


Review score

Superb: 9+ Very good: 8+ Good: 7+ Pleasant: 6+
Our top picks Lowest price first Star rating and price Top reviewed

See the latest prices and deals by choosing your dates.

Situated in the centre of Madrid, 700 metres from Plaza Mayor and 800 metres from Mercado San Miguel, Casa du Soleil offers free WiFi and air conditioning. Boasting luggage storage space, this property also provides guests with a sun terrace. The guest house also offers facilities for disabled guests.

At the guest house, units have a wardrobe, a flat-screen TV, a private bathroom, bed linen and towels.

Great location, beautiful rooms and lovely staff. For sure I will be back !

Show more Show less
9.3
Superb
1,360 reviews
Price from
£107
per night

Offering city views, Woohoo Rooms Boutique Sol is an accommodation situated in Madrid, 1.4 km from Reina Sofia Museum and less than 1 km from Thyssen-Bornemisza Museum. Among the facilities at this property are a lift and full-day security, along with free WiFi throughout the property. The property is 500 metres from Gran Via Metro Station, and within 200 metres of the city centre.

Everything - the room, the staff, great value for money.

Show more Show less
9.3
Superb
2,112 reviews
Price from
£136
per night

Conveniently set in the Centro district of Madrid, Hostal Met Madrid is set 600 metres from Puerta del Sol, less than 1 km from Plaza de España Metro Station and a 6-minute walk from Royal Palace of Madrid. It is located 300 metres from Plaza Mayor and provides a lift. The property is 100 metres from Mercado San Miguel, and within 300 metres of the city centre.

Really good location in the city center, close to everything. The room was exactly as the photos, tidy, confortable and had everything you needed. The staff was also very accommodating and helpful. They will help you with all your enquiries. Had a great stay with my friend.

Show more Show less
9
Superb
3,791 reviews
Price from
£164
per night

It offers modern and bright, air-conditioned rooms with free WiFi, flat-screen TVs and parquet floors. All rooms are heated and soundproofed and come with a private bathroom with a hairdryer, shower and free toiletries.

Great location on the Gran Via. Very helpful and welcoming front desk receptionist.

Show more Show less
9
Superb
3,199 reviews
Price from
£272
per night

Woohoo Rooms Chueca is centrally located in the Chueca District, 100 metres from Madrid’s famous Gran Via, 10 minutes’ walk from Puerta del Sol Square and only 3 minutes’ walk from Chueca Metro Station.

Rooms at this guest house offer free Wi-Fi and private bathroom. Woohoo Rooms Chueca also features luggage storage.

Everything was perfect. The staff was so helpful and nice. The location is so close to everything, near Grand via. The room was clean and modern, everything was new. And there were some gifts in the room for us.

Show more Show less
9
Superb
1,462 reviews
Price from
£120
per night

The spacious rooms at Hostal Central Palace Madrid feature wooden floors and classic décor. They all feature a private bathroom with shower and a hairdryer and toiletries. Some rooms offer views of the Royal Palace, Almudena Cathedral and the Sabatini Gardens.

I find that place the most special to stay in Madrid! We highly recommend! Beautiful room with astonishing view from the terrace! Extremely clean everywhere! And the receptionist Alina is the most kind person I ever met! She is so helpful, always smiles and make us feel very happy and special ones! She is one of the reason this place to so lovely!!! Thank you Alina from deep in our hearts!!! We will definitely back again soon!!!

Show more Show less
9.2
Superb
4,266 reviews
Price from
£144
per night

Situated in Madrid’s Las Letras district, this guest house is 300 metres from the Prado and Thyssen-Bornemisza Museums. Pensión Corbero offers a 24-hour reception and air-conditioned rooms with free Wi-Fi.

Each room at the Pensión Corbero Guest House has tiled floors and simple décor. Rooms are heated and include a safe, a TV and a private bathroom with a hairdryer. Some rooms have a flat-screen TV.

Cleanliness and staff were amazing

Show more Show less
9
Superb
1,272 reviews
Price from
£103
per night

All rooms are heated and feature tiled or wooden floors. Private bathrooms come with a shower, hairdryer and free toiletries. In almost all rooms the TV is flat-screen. Some rooms have a balcony offering views of a pedestrian street.

Very good a/c Elevator Clean room, beds, shower, towels Easy to access through the metro Staff speaking English 24h front desk

Show more Show less
9
Superb
2,041 reviews
Price from
£85
per night

Just 100 metres from Gran Via Metro station, Casa Bueno offers well-priced accommodation in central Madrid. It has free Wi-Fi in all rooms and is just 2 minutes’ walk from Chueca.

Rooms at the Bueno guesthouse have private bathrooms, air conditioning and heating. They also have TVs, and there is a lift.

The location was perfect - right in the heart of the shopping district and convenient for all the major attractions. The room was very clean and the beds were amazingly comfortable.

Show more Show less
9.2
Superb
1,330 reviews
Price from
£65
per night

This value guest house provides clean and simple accommodation, just a short walk from the main sights of this monumental capital city, including the historic Puerta del Sol or the Plaza Mayor.

Each of the rooms in Hostal Aguilar comes with equipped with an en-suite bathroom, and a TV, and are the ideal spaces to unwind in the evening, after a long days sightseeing.

We arrived early and were checked in before 2pm. A large comfortable room with pleasant furnishings.

Show more Show less
9.1
Superb
1,769 reviews
Price from
£94
per night

Looking for a B&B?

For travellers who enjoy beauty in the simple things, a bed and breakfast (B&B) is the perfect place for a getaway. Hosts welcome guests into their homes and provide a private room and complimentary breakfast. Bathrooms may be shared by other guests, and there is often shared space with the host.
Search B&Bs in Madrid

Most booked B&Bs in Madrid this month

Enjoy breakfast in Madrid!

  • Jc Rooms Jardines
    8.3
    Scored 8.3
    Very good
    Rated very good
     · 4,303 reviews

    Conveniently situated in the Centro district of Madrid, Jc Rooms Jardines is located less than 1 km from Mercado San Miguel, a 12-minute walk from Thyssen-Bornemisza Museum and 1 km from Prado Museum.

    Nice entryway and well thought through passages to the rooms.

  • JC Rooms Chueca
    8.3
    Scored 8.3
    Very good
    Rated very good
     · 2,804 reviews

    JC Rooms Chueca is located in Madrid city centre, in the lively neighbourhood of Chueca, only 500 metres from Puerta del Sol.

    Comfortable and quiet room in the center of Madrid

  • Vitium Urban Suites
    8.0
    Scored 8.0
    Very good
    Rated very good
     · 1,165 reviews

    Situated in central Madrid, right on Gran Vía Street with its trendy boutiques, Vitium Urban Suites offers soundproofed rooms with plenty of natural light, free Wi-Fi, air conditioning, and heating.

    La ubicación, la habitación y el trato del personal

  • Rincón de Gran Vía
    8.3
    Scored 8.3
    Very good
    Rated very good
     · 11,855 reviews

    Set on Gran Vía and just 50 metres from Plaza de España Metro Station, El Rincón de Gran Vía offers attractive rooms with free WiFi. It features a 24-hour reception.

    Room was Big and light! The localisation was great!

  • BYPILLOW Velázquez 45
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 4,453 reviews

    BYPILLOW Velázquez 45 is set in Madrid’s elegant Salamanca district. All rooms feature air conditioning, a bathroom with amenities and a flat-screen TV. There is a free Wi-Fi zone.

    fantastic service clean lovely space good location

  • ibis budget Madrid Aeropuerto
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 520 reviews

    Set within 10 km of IFEMA and 17 km of Santiago Bernabéu Stadium, ibis budget Madrid Aeropuerto offers rooms with air conditioning and a private bathroom in Madrid.

    Everything perfect. Electric car charger working.

  • CC Opera Suites
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 386 reviews

    Conveniently set in Madrid, CC Opera Suites provides a buffet breakfast and free WiFi.

    Great location, modern rooms, comfort, great bathroom.

  • Real Beds Madrid
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 997 reviews

    Comprising a garden and a shared lounge, Real Beds Madrid is a recently renovated accommodation in Madrid located close to Santiago Bernabéu Stadium.

    Nice and clean place, calm and good place..fantastic

Save money on B&Bs in Madrid – budget options available!

  • Hostal Los 5 Pinos
    Budget options available
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 1,008 reviews

    Just minutes from Madrid Airport, and close to the IFEMA trade fair site, Hostal Los 5 Pinos offers rooms with air conditioning. There is free Wi-Fi.

    Alojamiento impecable, ubicación ideal, e instalaciones muy bonitas

  • Chalet Avila Rooms
    Budget options available
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 749 reviews

    Chalet Avila Rooms is situated in the San Blas district of Madrid, 13 km from Thyssen-Bornemisza Museum, 13 km from El Retiro Park and 14 km from Gran Via Metro Station.

    Habitacion estaba perfecta, super amplia y muy limpia

  • Amplia habitación individual
    8.4
    Scored 8.4
    Very good
    Rated very good
     · 12 reviews

    Offering city views, Amplia habitación individual is an accommodation located in Madrid, 5.6 km from IFEMA and 5.7 km from Thyssen-Bornemisza Museum.

    La habitación grsnde, muy limpia y ordenada, con TV sofá, mesa y sillas, el anfitrión amable.

  • HOSPEDAJE LA PAZ
    7.9
    Scored 7.9
    Good
    Rated good
     · 1,006 reviews

    HOSPEDAJE LA PAZ has air-conditioned guest accommodation in Madrid, 3.8 km from Chamartin Railway Station, 4.9 km from Santiago Bernabéu Stadium and 7.3 km from Temple of Debod.

    Ubicación junto Sala Starving donde asistíamos a un evento.

  • A&Z Sierra de Meira - Auto check-in property
    5.9
    Scored 5.9
    Above average
    Rated okay
     · 1,332 reviews

    A&Z Sierra de Meira - Auto check-in property is situated in the Puente de Vallecas district of Madrid, 3.4 km from Reina Sofia Museum, 3.5 km from Atocha Train Station and 3.7 km from El Retiro Park.

    Que está cercano a parada de metro de la línea uno

  • A&Z ULISES
    Budget options available
    6.4
    Scored 6.4
    Pleasant
    Rated pleasant
     · 2,253 reviews

    Situated in Madrid, 4 km from IFEMA, A&Z ULISES features air-conditioned rooms with free WiFi and express check-in and check-out.

    Me gusta su ubicación, limpieza y facilidad de ingreso.

  • Metropolitan Atocha
    5.5
    Scored 5.5
    Average
    Rated passable
     · 1,542 reviews

    Set 150 metres from Atocha Train Station, Metropolitan Atocha is located in Madrid. This guest house features free WiFi in all public spaces.

    Very central, almost in front of the main rail station.

  • Rooms Maldonado
    Budget options available
    7.3
    Scored 7.3
    Good
    Rated good
     · 133 reviews

    Well located in the Salamanca district of Madrid, Rooms Maldonado is set 3.2 km from Thyssen-Bornemisza Museum, 3.3 km from El Retiro Park and 3.6 km from Gran Via Metro Station.

    Buena ubicación, habitación amplia, cama muy cómoda.

Great access to the city centre! Check these B&Bs in Madrid

  • Casa du Soleil
    9.3
    Scored 9.3
    Superb
    Rated superb
     · 1,360 reviews

    Situated in the centre of Madrid, 700 metres from Plaza Mayor and 800 metres from Mercado San Miguel, Casa du Soleil offers free WiFi and air conditioning.

    Great location, clean, good staff, value for money

  • Woohoo Rooms Boutique Sol
    9.3
    Scored 9.3
    Superb
    Rated superb
     · 2,112 reviews

    Offering city views, Woohoo Rooms Boutique Sol is an accommodation situated in Madrid, 1.4 km from Reina Sofia Museum and less than 1 km from Thyssen-Bornemisza Museum.

    Friendly and helpful staff, comfy room and amazing location

  • Hostal Lauria
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 3,476 reviews

    This hotel is located in the heart of Madrid, into Gran Via, one of Madrid's main communications artery and well-known for its shops and theatres.

    Great location, friendly staff, bright and clean room

  • Hostal Central Palace Madrid
    9.2
    Scored 9.2
    Superb
    Rated superb
     · 4,266 reviews

    Centrally located overlooking the Royal Palace and Sabatini Gardens in Madrid’s Plaza de Oriente, this elegant guest house offers 24-hour reception and free WiFi.

    The view from the bedroom was absolutely incredible.

  • Hostal Pan America
    9.1
    Scored 9.1
    Superb
    Rated superb
     · 232 reviews

    Located 3 minutes’ walk from Puerta del Sol and Gran Via, Hostal Pan America offers rooms overlooking the centre of Madrid. Free Wi-Fi is available in all areas.

    Ubicación. Habitación muy limpia. Trato del personal.

  • Hostal Terán
    9.1
    Scored 9.1
    Superb
    Rated superb
     · 696 reviews

    A 5-minute walk from Puerta del Sol and its Metro station, Hostal Terán offers simple rooms with free Wi-Fi in the centre of Madrid. It features a 24-hour reception and a communal lounge.

    In the city centre..very comfortable and very clean place!!

  • Hostal Royal Cruz
    9.1
    Scored 9.1
    Superb
    Rated superb
     · 897 reviews

    Featuring a shared lounge, Hostal Royal Cruz is a guest house located in a historic building in the centre of Madrid, close to Gran Via Metro Station.

    Very well run hotel, friendly staff, perfect location

  • Hostal Aresol
    9.0
    Scored 9.0
    Superb
    Rated superb
     · 2,376 reviews

    Hostal Aresol is located only 100 metres from kilometre Zero, next to the Puerta del Sol. This is an excellent place from which to enjoy the sites of Madrid. There is free WiFi available throughout.

    Spotlessly clean. Friendly staff and great position.

  • Hostal Artistic B&B
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 815 reviews

    Located in the centre of Madrid, 1.4 km from El Retiro Park and less than 1 km from Reina Sofia Museum, Hostal Artistic B&B offers free WiFi and air conditioning.

    Everything,location,style,host. We'll be back again.

  • Hostal Ana Belen
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 559 reviews

    Located on Madrid’s Puerta del Sol, Hostal Ana Belen offers air-conditioned rooms with a flat-screen TV and private balcony.

    Location great, comfortable bed and helpful staff.

  • Hostal Santa Cruz
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 827 reviews

    Located 80 metres from Madrid’s Plaza Mayor Square, Hostal Santa Cruz offers free Wi-Fi, a 24-hour reception and air-conditioned rooms with a flat-screen TV. Puerta Del Sol is a 2-minute walk away.

    cleaning service every day is a very appeciate adventage

  • Hostal Carracedo
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,095 reviews

    Featuring 1-star accommodation, Hostal Carracedo is located in Madrid, less than 1 km from Reina Sofia Museum and a 14-minute walk from Atocha Train Station.

    It was on a lovely street right in the heart of the city

  • BYPILLOW Crosstown
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,919 reviews

    A recently renovated guest house situated in the centre of Madrid, BYPILLOW Crosstown is a 3-star accommodation close to Plaza Mayor and Mercado San Miguel.

    The hotel is nice, with pleasant staff and clean rooms

  • OLBLANC Plaza de España by Batuecas
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 2,738 reviews

    Set within 300 metres of Royal Palace of Madrid and 400 metres of Temple of Debod, OLBLANC Plaza de España by Batuecas offers rooms in Madrid.

    Great location, clean, good property with a nice view.

  • Hostal Centro Sol Madrid
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,901 reviews

    Centro Sol hotel offers colourful, air-conditioned rooms in the centre of Madrid. It is less than 100 metres from Puerta del Sol and within 15 minutes’ walk of El Retiro Park. Free Wi-fi is available.

    The location is perfect, and it's fantastic for value.

  • Hostal Madrid
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 2,840 reviews

    Offering free Wi-Fi, this value guest house is situated in the heart of Madrid and is the ideal base to see the sights of this fantastic capital city, and enjoy the lively nightlife.

    Very close to sol station, smooth checkin, very helpful staff

  • Hostal Mayor
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 2,530 reviews

    Located right in Madrid city centre, Hostal Mayor is 50 metres from Madrid’s famous Puerta del Sol and Plaza Mayor Squares. It offers a 24-hour reception and rooms with free Wi-Fi.

    Perfect location, comfortable room and very clean.

  • Hostal Patria Madrid
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,495 reviews

    Offering simple rooms with free Wi-Fi, Hostal Patria Madrid is set on Madrid’s Calle Mayor, a few metres by foot from Puerta del Sol. It is within 100 metres of bars, restaurants and nightclubs.

    everything , location perfect , staff super friendly

  • Hostal Don Alfonso
    8.8
    Scored 8.8
    Fabulous
    Rated fabulous
     · 1,311 reviews

    Featuring 2-star accommodation, Hostal Don Alfonso is located in Madrid, 300 metres from Plaza Mayor and 400 metres from Gran Via.

    Very clean, incredible location, great value for money.

  • Hostal Guerra
    8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 1,586 reviews

    Located within a 2-minute walk from Puerta del Sol Square, charming Hostal Guerra offers free Wi-Fi. The guest house is set in the heart of Madrid’s old town and has air conditioning.

    The staff were particularly helpful. Lovely people.

  • diezmadrid
    Central location
    8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 1,452 reviews

    Featuring free WiFi, diezmadrid is located in Madrid City Centre, 260 metres from the famous Puerta del Sol. This guest house offers rooms with air conditioning and heating.

    Very good location. Very small room but has everything.

  • Hostal Triana
    8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 1,696 reviews

    Hostal Triana is located just 100 metres from Madrid’s emblematic Gran Vía. It offers private rooms with free Wi-Fi and a plasma TV, 3 minutes’ walk from Puerta del Sol.

    The location was extremely good, helpful staff and very clean room.

  • Madridcito
    Central location
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 645 reviews

    Set in Madrid, 1.1 km from Royal Palace of Madrid, Madridcito features views of the city. The 2-star guest house has air-conditioned rooms with a private bathroom and free WiFi.

    Perfect location and facilities. All just like Fotos.

  • Hostal Alexis Madrid
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 2,803 reviews

    Hostal Alexis Madrid is located in central Madrid, next to Plaza Santa Ana and just 300 metres from Puerta del Sol. It offers modern, air-conditioned rooms with free Wi-Fi.

    Huge comfy bed Perfect location Kind and friendly staff

  • Hostal Inn Madrid
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 2,644 reviews

    Hostal Inn Madrid is 50 metres from Madrid’s Gran Vía Avenue. It offers a 24-hour reception and modern, air-conditioned rooms with free Wi-Fi and a flat-screen TV.

    Very close to everything, very helpful reception, Very clean.

  • HOSTAL ANDREA GRANVIA
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 163 reviews

    Offering city views, HOSTAL ANDREA GRANVIA is an accommodation located in Madrid, 800 metres from Thyssen-Bornemisza Museum and 1.7 km from El Retiro Park.

    Muy cuidado todo y muy limpio. La ubicación es buena.

  • Hostal Alfaro
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 3,357 reviews

    Set 5 minutes’ walk from Puerta del Sol, Hostal Alfaro is set in the heart of Madrid. Offering free Wi-Fi, the air-conditioned guest house is a 10-minute walk from the Prado Museum.

    comfortable, clean, great location and accessible.

  • CH La Petite Maison - Boutique - Madrid
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 655 reviews

    CH La Petite Maison - Boutique - Madrid has air-conditioned guest accommodation in Madrid, 800 metres from Gran Via Metro Station, 500 metres from Plaza de España Metro Station and 1.6 km from Thyssen...

    Excelente ubicación. Recién remodelado. Muy limpio.

FAQ about B&Bs in Madrid









B&Bs that guests love in Madrid

  • Avg. price/night: £146.08
    8.2
    Scored 8.2
    Very good
    Rated very good
     · 9,003 reviews
    Convenient for the airport, short Metro ride then a few mins walk. Very clean and I think recently renovated. Staff cheerful and very helpful. Beds comfortable and room quiet. Excellent breakfast - plenty of choice, and for once hotel toasters that produce quality toast in quick time! Fresh fruit salad was excellent. Also great choice of all normal breakfast items from around Europe.
    Peter
    Solo traveller
  • 8.4
    Scored 8.4
    Very good
    Rated very good
     · 48 reviews
    Great location and quiet in a busy city centre. Spacious and all the cooking utensils are available including oven.
    Leilei
    Group
  • Avg. price/night: £253.72
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 5,592 reviews
    Great location near Chamartín station. Quiet clean big rooms with all amenities. Excellent breakfast
    Ann
    Solo traveller
  • Avg. price/night: £94.11
    7.8
    Scored 7.8
    Good
    Rated good
     · 1,282 reviews
    Great location! Situated in a quiet street just a few minutes' walk from the city centre.
    Andrew Hobson
    Solo traveller
  • 8.7
    Scored 8.7
    Fabulous
    Rated fabulous
     · 1,845 reviews
    Great location, close to city center and nice restaurants in the same street as the hotel. Easy access as long as you do the online check in on time. We stayed 1 night in the room with a terrace, really spacious and private space to have drinks and enjoy an evening.
    Yelani
    Group
  • 8.1
    Scored 8.1
    Very good
    Rated very good
     · 92 reviews
    Great apartment, cozy and clean, equipped kitchen, on great location, close to the city center and ideal for walking around the older areas of the city. Close to La Latina metro and bus station. Lots of markets and restaurants near by. On sunday morning, famous El Rastro flea market is right around the corner. Ana is a great host. Recomended
    caneZZi
    Young couple
  • Avg. price/night: £134.97
    8.6
    Scored 8.6
    Fabulous
    Rated fabulous
     · 1,492 reviews
    Small but very cozy room in the city center. Great location, helpful staff. Our room was quiet.
    Katerina
    Young couple
  • Avg. price/night: £135.32
    8.5
    Scored 8.5
    Very good
    Rated very good
     · 4,456 reviews
    We stayed with this hotel chain for the first time and our experience was incredible. Very polite and helpful staff, great location - walking distance to the metro which drops you off at the city center. The room was great size for an airport hotel and unexpectedly quiet! There was a shuttle to take us to the airport the next morning.
    Slavena
    Young couple
  • Avg. price/night: £135.83
    8.1
    Scored 8.1
    Very good
    Rated very good
     · 2,662 reviews
    Great location, private bathroom was nice. Spotlessly clean and nice decoration with finishing touches like a hairdryer and mirrors. Air con in the room and it was super quiet, you would not know you were above bars in the centre of Madrid!
    Zoe
    Solo traveller
  • Avg. price/night: £116.01
    8.9
    Scored 8.9
    Fabulous
    Rated fabulous
     · 10,911 reviews
    Great hostel, right in the centre of the city. Staff were super friendly and knowledgeable and there are several laundry mats very close by which is helpful when travelling for awhile. We stayed in a private room. It was nice, felt like a budget hotel but did the job and great location.
    Dayna
    Young couple

Research, refine and make plans for your whole trip